[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:54bccc8e05f6f9480b50c4edfb2a364d344e72c0 commit r9-10141-g54bccc8e05f6f9480b50c4edfb2a364d344e72c0 Author: Jakub Jelinek D

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:125234a3b78138e22112bb3f207df987817b6818 commit r10-10698-g125234a3b78138e22112bb3f207df987817b6818 Author: Jakub Jelinek

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:51b5fa6b4257850c99094f2cf7ece949b00a7826 commit r11-9734-g51b5fa6b4257850c99094f2cf7ece949b00a7826 Author: Jakub Jelinek

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:72124f487ccb5c8065dd5f7b8fba254600b7e611 commit r12-7793-g72124f487ccb5c8065dd5f7b8fba254600b7e611 Author: Jakub Jelinek Date: T

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #5 from Jakub Jelinek --- Created attachment 52657 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52657&action=edit gcc12-pr104994.patch Untested fix. This anticipates that CWG. If we wouldn't, we should temporarily revert t

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > We might have a defect in the > current draft, because it seems to forbid it. Oh, which Hubert already filed: https://cplusplus.github.io/CWG/issues/2552.ht

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #3 from Jonathan Wakely --- Ville says that P2242 did not intend to add new restrictions, so this was valid in C++20, and should still be valid in C++23 even if control flow passes over that non-local declaration. We might have a def

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c++/104994] extern thread_local declaration rejected in constexpr

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