[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #10 from Martin Liška --- > Yes, we do, support back to 4.8.x was part of the switch to C++11 language > decision. Can you please document that requirement? I really don't get it, we decided to move to a more recent C++ standard, bu

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #8 from Jakub Jelinek --- (In reply to Martin Liška from comment #7) > > The fact that something is in C++11 doesn't mean we can assume it in GCC, > > while GCC 4.8.x which we still want to support had roughly complete C++11 FE > > s

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #7 from Martin Liška --- > The fact that something is in C++11 doesn't mean we can assume it in GCC, > while GCC 4.8.x which we still want to support had roughly complete C++11 FE > support, I think the libstdc++ side wasn't there ye

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #6 from Martin Liška --- Mine.

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #5 from David Edelsohn --- For example, in GCC 6: #if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1) namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION /** * @defgroup thread

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #4 from Jonathan Wakely --- And opinions differ on whether "define it but make it useless" or "don't define it" is the right answer.

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 --- Comment #2 from David Edelsohn --- Created attachment 50650 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50650&action=edit pre-processed source for lto-wrapper.c

[Bug bootstrap/100186] lto-wrapper.c assumes std::thread

2021-04-21 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100186 David Edelsohn changed: What|Removed |Added Target Milestone|--- |12.0 Last reconfirmed|