https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68641
--- Comment #10 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> --- (In reply to rguent...@suse.de from comment #9) > Though with the testcase you gave we warn at both -O0 and -O1: yes, but unfortunately, -Wuninitialized, also warns for 'may be used uninitialized' which are too often false positives, and sometimes even compiler generated variables as in PR67679. A -Wmust-be-uninitialized (which seemingly the compiler could do as the comment on top of init-regs.c suggests) would be valuable. [I just checked that -Wuninitialized -Wno-maybe-uninitialized doesn't work]