aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-10-08 15:09:20 -0600
committerJeff Law <law@gcc.gnu.org>1998-10-08 15:09:20 -0600
commit990c642c8991cf262218e98d7fedf47b1127db05 (patch)
treee1be7e69b9f0b36cfc64fe2d9529b21cca2a4c00 /gcc/emit-rtl.c
parent5a41b4763507981d960b30ee9604d96430a543ad (diff)
downloadgcc-990c642c8991cf262218e98d7fedf47b1127db05.zip
gcc-990c642c8991cf262218e98d7fedf47b1127db05.tar.gz
gcc-990c642c8991cf262218e98d7fedf47b1127db05.tar.bz2
emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
* emit-rtl.c (init_emit_once): Call INIT_EXPANDERS. * cpplib.h: Protect from multiple inclusions. * cpplib.c: Fix minor formatting problems. From-SVN: r22937
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index e6e0e60..d8f36af 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -3565,6 +3565,14 @@ init_emit_once (line_numbers)
#ifdef PIC_OFFSET_TABLE_REGNUM
pic_offset_table_rtx = gen_rtx_REG (Pmode, PIC_OFFSET_TABLE_REGNUM);
#endif
+
+#ifdef INIT_EXPANDERS
+ /* This is to initialize save_machine_status and restore_machine_status before
+ the first call to push_function_context_to. This is needed by the Chill
+ front end which calls push_function_context_to before the first cal to
+ init_function_start. */
+ INIT_EXPANDERS;
+#endif
}
/* Query and clear/ restore no_line_numbers. This is used by the