[Bug c/22346] Miscompilation (infinite loop & longjmp?)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 7 13:18:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-07 13:18 -------
The setjmp buffer becomes invalid once you use longjmp on it.
Also you need to mark sum as volatile.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22346
More information about the Gcc-bugs
mailing list