[Bug c++/98930] New: ICE when using function local static constexpr variable at runtime

2021-02-02 Thread matthieum.147192 at gmail dot com via Gcc-bugs
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

[Bug c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

2021-02-02 Thread matthieum.147192 at gmail dot com via Gcc-bugs
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

[Bug c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

2021-01-04 Thread matthieum.147192 at gmail dot com via Gcc-bugs
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.

[Bug c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

2020-12-15 Thread matthieum.147192 at gmail dot com via Gcc-bugs
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.

[Bug c++/98288] New: Accidental equality of classes templated by pointer to local static constant of templated function

2020-12-15 Thread matthieum.147192 at gmail dot com via Gcc-bugs
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