[Bug c++/99162] problem when compile with O2 or O3

2021-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99162 --- Comment #2 from Jonathan Wakely --- (In reply to Zhang Haibin from comment #0) > $ g++ --version > g++ (GCC) 4.9.2 This compiler is ancient and we're not interested in bug reports for it. If you use a modern compiler you can use -fsanitize=

[Bug c++/99162] problem when compile with O2 or O3

2021-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99162 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED