uml: work around mangled parameter handling for ubd
[openwrt/svn-archive/archive.git] / tools / sdcc / patches / 100-workaround-gcc-4.6.2-hang.patch
1 --- a/src/SDCCicode.c
2 +++ b/src/SDCCicode.c
3 @@ -1130,6 +1130,9 @@ iCode *getBuiltinParms (iCode *ic, int *
4 return ic;
5 }
6
7 +#pragma GCC push_options
8 +#pragma GCC optimize ("O0")
9 +
10 /*-----------------------------------------------------------------*/
11 /* operandOperation - performs operations on operands */
12 /*-----------------------------------------------------------------*/
13 @@ -1405,6 +1408,7 @@ operandOperation (operand * left, operan
14
15 return retval;
16 }
17 +#pragma GCC pop_options
18
19
20 /*-----------------------------------------------------------------*/