aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2020-12-07 09:27:15 +0100
committerMatthias Klose <doko@ubuntu.com>2020-12-07 09:27:15 +0100
commit8441545d4f2afb9e9342e0dac378eafd03f00462 (patch)
tree038e8cac9ae9b7a29d6e6e5d003e6e9263da0b21 /gcc
parent7b4ea2827d2003c8ffc76cd478f8974360cbd78f (diff)
downloadgcc-8441545d4f2afb9e9342e0dac378eafd03f00462.zip
gcc-8441545d4f2afb9e9342e0dac378eafd03f00462.tar.gz
gcc-8441545d4f2afb9e9342e0dac378eafd03f00462.tar.bz2
Don't build insn-extract.o with rtl checking
As seen in PR98144, building insn-extract.o with rtl checking takes some memory, and it doesn't work on 32bit architectures at all (PR97314). Richard suggested on irc to disable rtl checking for this auto-generated file, like it's already done for genconditions.c. Patching it like done for genconditons.c. 2020-12-07 Matthias Klose <doko@ubuntu.com> * genextract.c (print_header): Undefine ENABLE_RTL_CHECKING and ENABLE_RTL_FLAG_CHECKING.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/genextract.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c
index 63911e7..359681e 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -365,6 +365,8 @@ print_header (void)
#define IN_TARGET_CODE 1\n\
#include \"config.h\"\n\
#include \"system.h\"\n\
+#undef ENABLE_RTL_CHECKING\n\
+#undef ENABLE_RTL_FLAG_CHECKING\n\
#include \"coretypes.h\"\n\
#include \"tm.h\"\n\
#include \"rtl.h\"\n\