[Bug tree-optimization/50188] Optimizer doesn't take into account, that longjmp could lead to loops, which causes illegal code transformations.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 25 18:44:00 GMT 2011


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-08-25 18:33:44 UTC ---
IIRC the variables need to be marked as volatile if you want them to be correct
over setjmp/longjmp.



More information about the Gcc-bugs mailing list