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
This commit is contained in:
Jeff Law 1998-10-08 15:09:20 -06:00
parent 5a41b47635
commit 990c642c89
4 changed files with 21 additions and 2 deletions

View 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.

View 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;
}

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

View 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
}
/* Query and clear/ restore no_line_numbers. This is used by the