------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-17 19:06 -------
printf("%d = ret, glo = %d", yylex(), glo);
The C standard does not specify if yylex() or glo is evulated first.
So you are running into that effect and this is code undefined.
See PR 11751 for future reference.
*** This bug has been marked as a duplicate of 11751 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27646