From: Richard Kenner Date: Sat, 20 Oct 2001 11:24:36 +0000 (+0000) Subject: toplev.h (struct lang_hooks): HONOR_READONLY now bool. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=107c13a132d91e9e229994cc6cd23d1615f1e6df;p=gcc.git toplev.h (struct lang_hooks): HONOR_READONLY now bool. * toplev.h (struct lang_hooks): HONOR_READONLY now bool. * main.c: Include config.h and system.h, but not ansidecl.h. * Makefile.in (main.o): Update accordingly. From-SVN: r46376 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index afaba7131e0..8c1094ac329 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Oct 20 07:27:14 2001 Richard Kenner + + * toplev.h (struct lang_hooks): HONOR_READONLY now bool. + * main.c: Include config.h and system.h, but not ansidecl.h. + * Makefile.in (main.o): Update accordingly. + Sat Oct 20 12:05:31 CEST 2001 Jan Hubicka * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 00577e1b7f7..875452bd56f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1373,7 +1373,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) function.h \ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -DTARGET_NAME=\"$(target_alias)\" \ -c $(srcdir)/toplev.c -main.o : main.c toplev.h +main.o : main.c $(CONFIG_H) $(SYSTEM_H) toplev.h rtl-error.o: rtl-error.c system.h $(RTL_H) $(INSN_ATTR_H) insn-config.h \ input.h toplev.h intl.h diagnostic.h $(CONFIG_H) diff --git a/gcc/main.c b/gcc/main.c index 1513712d629..49418bd05d7 100644 --- a/gcc/main.c +++ b/gcc/main.c @@ -17,7 +17,8 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ansidecl.h" +#include "config.h" +#include "system.h" #include "toplev.h" int main PARAMS ((int argc, char **argv)); diff --git a/gcc/toplev.h b/gcc/toplev.h index c9b60ee2c3e..61a277c3766 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -167,7 +167,7 @@ struct lang_hooks void (*post_options) PARAMS ((void)); /* Nonzero if TYPE_READONLY and TREE_READONLY should always be honored. */ - int honor_readonly; + bool honor_readonly; struct lang_hooks_for_tree_inlining tree_inlining;