https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98930
Bug ID: 98930
Summary: ICE when using function local static constexpr
variable at runtime
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288
Matthieu M changed:
What|Removed |Added
Version|7.2.0 |11.0
--- Comment #3 from Matthieu M ---
Up
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288
--- Comment #2 from Matthieu M ---
Richard Smith (Clang) agreed that the following program should return 0, and
fixed the behavior in Clang (trunk) in
https://bugs.llvm.org/show_bug.cgi?id=48517.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288
--- Comment #1 from Matthieu M ---
The above program leads to an ICE on gcc (trunk): https://godbolt.org/z/dGe1T6,
from SO user https://stackoverflow.com/users/4832499/passer-by.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288
Bug ID: 98288
Summary: Accidental equality of classes templated by pointer to
local static constant of templated function
Product: gcc
Version: 7.2.0
Status: UNCONFIRMED