- Work around GCC 4.8 bug 54570

This commit is contained in:
Braden Obrzut 2014-01-02 19:12:03 -05:00
parent 1e50a0af9e
commit 50cec119a0

View file

@ -157,6 +157,10 @@ loop:
{ {
return TokenTrans[NUM]; return TokenTrans[NUM];
} }
#if __GNUC__ == 4 && __GNUC_MINOR__ == 8
// Work around GCC 4.8 bug 54570 causing release build crashes.
asm("" : "+g" (yylval));
#endif
strcpy (yylval->sym, token); strcpy (yylval->sym, token);
return TokenTrans[SYM]; return TokenTrans[SYM];
} }