[Bug c++/103159] -Wuninitialized should not depend on optimization level

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 --- Comment #3 from Mathieu Malaterre --- Please note that the documentation currently does not detail the need/impact of optimization for this flag: * https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wuninitialized Maybe just upd

[Bug c++/103159] -Wuninitialized should not depend on optimization level

2021-11-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 Richard Biener changed: What|Removed |Added Blocks||24639 Summary|Some -Wuninit

[Bug c++/103159] -Wuninitialized should not depend on optimization level

2021-11-09 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103159 --- Comment #1 from Mathieu Malaterre --- Just to be sure, here is the actual command I had been starring at for a while: ``` % g++ -o undef -fsanitize=undefined -Wuninitialized undef.cxx && ./undef 21845 ``` Maybe I got confused with `-fsanit