1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
ZyXEL_PMG5617GA/tools/sdcc/patches/100-workaround-gcc-4.6.2-hang.patch
2022-11-27 10:16:14 +00:00

21 lines
583 B
Diff

--- 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
/*-----------------------------------------------------------------*/