https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118
--- Comment #33 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Paul Eggert from comment #32) > Created attachment 58065 [details] > Run "gunzip t.i.gz; gcc -O2 -S -Wclobbered t.i" to reproduce the false > positives > > I ran into this bug today when compiling GNU Emacs with gcc (GCC) 14.0.1 > 20240411 (Red Hat 14.0.1-0) on x86-64 (Fedora 40). I didn't see it with > earlier GCC releases so I thought I'd attach a test case, derived from > Emacs. Compile with: It is there for GCC 11.4.1 for me: [apinski@xeond2 upstream-gcc-new]$ gcc ~/src/t.i -S -O2 -S -Wclobbered -fdump-tree-optimized /home/apinski/src/t.i: In function ‘internal_lisp_condition_case’: /home/apinski/src/t.i:7969:15: warning: variable ‘sym’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 7969 | Lisp_Object sym = XSYMBOL_WITH_POS (a)->sym; | ^~~ /home/apinski/src/t.i:94273:43: warning: argument ‘var’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 94273 | internal_lisp_condition_case (Lisp_Object var, Lisp_Object bodyform, | ~~~~~~~~~~~~^~~ [apinski@xeond2 upstream-gcc-new]$ gcc ~/src/t.i -S -O2 -S -Wclobbered -fdump-tree-optimized --version gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.