diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-10-08 15:09:20 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-08 15:09:20 -0600 |
commit | 990c642c8991cf262218e98d7fedf47b1127db05 (patch) | |
tree | e1be7e69b9f0b36cfc64fe2d9529b21cca2a4c00 /gcc | |
parent | 5a41b4763507981d960b30ee9604d96430a543ad (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cpplib.c | 4 | ||||
-rw-r--r-- | gcc/cpplib.h | 4 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 8 |
4 files changed, 21 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61707ff..1f643a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 8 21:59:47 1998 Dave Brolley <brolley@cygnus.com> + + * emit-rtl.c (init_emit_once): Call INIT_EXPANDERS. + Thu Oct 8 22:03:45 1998 David Edelsohn <edelsohn@mhpcc.edu> * rs6000.h (RTX_COSTS): Add PROCESSOR_PPC604e cases. @@ -9,6 +13,9 @@ Thu Oct 8 17:00:18 1998 Richard Henderson <rth@cygnus.com> Thu Oct 8 17:15:04 1998 Jeffrey A Law (law@cygnus.com) + * cpplib.h: Protect from multiple inclusions. + * cpplib.c: Fix minor formatting problems. + * i386/xm-cygwin32.h: Only define POSIX if it is not already defined. * jump.c (jump_optimize): Revert accidental patch. diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 874a175..da2f54a 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -6511,7 +6511,7 @@ cpp_handle_option (pfile, argc, argv) case 't': if (!strcmp (argv[i], "-traditional")) { opts->traditional = 1; - opts->cplusplus_comments = 0; + opts->cplusplus_comments = 0; } else if (!strcmp (argv[i], "-trigraphs")) { if (!opts->chill) opts->no_trigraphs = 0; @@ -6816,7 +6816,7 @@ cpp_handle_option (pfile, argc, argv) opts->out_fname = ""; break; } /* else fall through into error */ - + default: return i; } diff --git a/gcc/cpplib.h b/gcc/cpplib.h index ad69646..12b111b 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -19,6 +19,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. In other words, you are welcome to use, share and improve this program. You are forbidden to forbid anyone else to use, share and improve what you give them. Help stamp out software-hoarding! */ +#ifndef __GCC_CPPLIB__ +#define __GCC_CPPLIB__ #include <sys/types.h> #include <sys/stat.h> @@ -686,3 +688,5 @@ extern void cpp_print_containing_files PROTO ((cpp_reader *)); #ifdef __cplusplus } #endif +#endif /* __GCC_CPPLIB__ */ + 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 |