mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- Work around GCC 4.8 bug 54570
This commit is contained in:
parent
1e50a0af9e
commit
50cec119a0
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