aboutsummaryrefslogtreecommitdiffstats
path: root/tools/sdcc/patches/100-workaround-gcc-4.6.2-hang.patch
blob: 71db14f81692a803fda5045b3bd868016910a6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/SDCCicode.c
+++ b/src/SDCCicode.c
@@ -1130,6 +1130,9 @@ iCode *getBuiltinParms (iCode *ic, int *
     return ic;
 }
 
+#pragma GCC push_options
+#pragma GCC optimize ("O0")
+
 /*-----------------------------------------------------------------*/
 /* operandOperation - performs operations on operands             */
 /*-----------------------------------------------------------------*/
@@ -1405,6 +1408,7 @@ operandOperation (operand * left, operan
 
   return retval;
 }
+#pragma GCC pop_options
 
 
 /*-----------------------------------------------------------------*/