- Work around GCC 4.8 bug 54570

This commit is contained in:
Braden Obrzut 2014-01-02 19:12:03 -05:00
parent 12d45bbc33
commit 511bdc7208
1 changed files with 4 additions and 0 deletions

View File

@ -157,6 +157,10 @@ loop:
{
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);
return TokenTrans[SYM];
}