[Bug tree-optimization/31727] Functions with non-local gotos are considered not to have side effects
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 27 23:37:00 GMT 2007
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-04-28 00:37 -------
Oh and this goto is considered not a non-local goto, it is just considered a
computed goto. A non-local goto is only with nested functions. Like:
int main (void)
{
__label__ l1;
void bla(void)
{
goto l1;
}
l1:
bla();
return 0;
}
Which we handle correctly by the way :).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31727
More information about the Gcc-bugs
mailing list