[Bug c++/101786] P1143R2 constinit implementation is incomplete (joining with thread_local)

2021-08-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101786 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101786] P1143R2 constinit implementation is incomplete (joining with thread_local)

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101786 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ee8f9ff00d79998274c967ad0c23692be9dd3ada commit r12-2861-gee8f9ff00d79998274c967ad0c23692be9dd3ada Author: Jakub Jelinek Date:

[Bug c++/101786] P1143R2 constinit implementation is incomplete (joining with thread_local)

2021-08-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101786 --- Comment #4 from Jakub Jelinek --- IMHO clang++ implements it incorrectly, if you compile the testcase I've added in the patch with clang, then it will properly use _ZTH for the 4th variable (as it has non-trivial dtor, that dtor needs to be

[Bug c++/101786] P1143R2 constinit implementation is incomplete (joining with thread_local)

2021-08-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101786 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/101786] P1143R2 constinit implementation is incomplete (joining with thread_local)

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101786 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/101786] P1143R2 constinit implementation is incomplete (joining with thread_local)

2021-08-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101786 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization