toplev.h (struct lang_hooks): HONOR_READONLY now bool.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Sat, 20 Oct 2001 11:24:36 +0000 (11:24 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 Oct 2001 11:24:36 +0000 (07:24 -0400)
* 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

gcc/ChangeLog
gcc/Makefile.in
gcc/main.c
gcc/toplev.h

index afaba7131e0c793ea102a27232f90274fb489ab9..8c1094ac3291b9ec052f77476cd668847bb2aae0 100644 (file)
@@ -1,3 +1,9 @@
+Sat Oct 20 07:27:14 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * 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  <jh@suse.cz>
 
        * i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
index 00577e1b7f75f7bf755eed0133b9c1b079c22de7..875452bd56f1ba3bea846ef1728a5e284605598e 100644 (file)
@@ -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)
index 1513712d6290e5e7bb49b7a74e786b8e95300c5d..49418bd05d700200f95afece11333411446e659e 100644 (file)
@@ -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));
index c9b60ee2c3ed97d9df30f54fb2212b930c944cc1..61a277c376665c304d25d6421a9509daba5bf7d9 100644 (file)
@@ -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;