[Bug c/48968] incorrect warning about longjmp/vfork clobbering a local (-W -O2, x86-64)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 12 11:07:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48968

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-12 09:11:45 UTC ---
Well, XXXevent is scalarized by SRA (-fno-tree-sra gets rid of the error) and
I suppose nothing prevents that register to be propagated to other indirect
uses.  So it might be indeed live over the setjmp call.



More information about the Gcc-bugs mailing list