https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111490
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |ipa CC| |marxin at gcc dot gnu.org Keywords| |diagnostic, wrong-code --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This warning makes it obvious something wrong is going on. It is IPA SRA which is doing something wrong: In function 'func_27', inlined from 'main' at /home/cuisk/gcc/tmp/a.c:608:5: /home/cuisk/gcc/tmp/a.c:102:20: warning: 'removed_return.86' is used uninitialized [-Wuninitialized] /home/cuisk/gcc/tmp/a.c: In function 'main': /home/cuisk/gcc/tmp/a.c:608:5: note: 'removed_return.86' was declared here