mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- Work around GCC 4.8 bug 54570
This commit is contained in:
parent
12d45bbc33
commit
511bdc7208
1 changed files with 4 additions and 0 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue