https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61677

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> ---
The false positive for the reduced test case from comment #4 was fixed by
r220696.  r11-7898 adds it to the testsuite.  The unreduced test case from
attachment 33055 still warns with GCC 11:

$ gcc -O2 -S -Wall pr61677-c0.c 
In file included from scripts/kconfig/zconf.tab.c:2537:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
In file included from scripts/kconfig/zconf.tab.c:2537:
scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here

Reply via email to