emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
authorJeff Law <law@gcc.gnu.org>
Thu, 8 Oct 1998 21:09:20 +0000 (15:09 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 8 Oct 1998 21:09:20 +0000 (15:09 -0600)
        * emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
        * cpplib.h: Protect from multiple inclusions.
        * cpplib.c: Fix minor formatting problems.

From-SVN: r22937

gcc/ChangeLog
gcc/cpplib.c
gcc/cpplib.h
gcc/emit-rtl.c

index 61707ffd4a38cd53675daed728c4c0e8b52c1d1b..1f643a2d1c543452c4d1dba539f1e37ecd505eeb 100644 (file)
@@ -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.
index 874a1759a501c4d3e6032fe17236edaeb5b3cb1f..da2f54a97f03bbcb8807b99e738665dd73320b9e 100644 (file)
@@ -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;
     }
index ad69646d4fec4732da2d240c105d1fea1387251d..12b111b7a4ed15f7e9e16b1eb138bfeda696e6f3 100644 (file)
@@ -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__ */
+
index e6e0e609e54e9720463bca997f10dd87c00aab7f..d8f36af4e238595f514fad31b33f595779b9c237 100644 (file)
@@ -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
 }
 \f
 /* Query and clear/ restore no_line_numbers.  This is used by the