https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
--- Comment #9 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #6)
> Note this code ICEs with LTO turned on also.
The ICE is:
during IPA pass: modref
rls6o5bx.cpp:10:1: internal compiler error: in get_partitioning_class, at
symta
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
--- Comment #8 from Andrew Pinski ---
Note the testcase is very similar to clang's
test/SemaTemplate/instantiate-static-local.cpp testcase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
--- Comment #7 from Andrew Pinski ---
*** Bug 109185 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
Andrew Pinski changed:
What|Removed |Added
Keywords||ice-on-valid-code, lto
--- Comment #6 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
Andrew Pinski changed:
What|Removed |Added
CC||asolokha at gmx dot com
--- Comment #5 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
Daniel Krügler changed:
What|Removed |Added
CC||daniel.kruegler@googlemail.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
--- Comment #2 from Lénárd Szolnoki ---
I failed to mention that I compiled the example in -std=c++17. With this
compiler option it compiles but fails to link in gcc. It compiles, links and
runs as expected in clang.
The linkage requirement for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95686
Richard Biener changed:
What|Removed |Added
Version|11.0|9.3.0
Ever confirmed|0