diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-04-13 21:10:16 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-04-13 21:10:16 +0000 |
commit | 2840aebf0851ea62baa82d4c45742e08d861acaa (patch) | |
tree | 5b294d8463829ad525276d8e5f2b1399f5e4dc7c /gcc | |
parent | 8461e9845556229b33d5dbb6474f4fa3e7929ae1 (diff) | |
download | gcc-2840aebf0851ea62baa82d4c45742e08d861acaa.zip gcc-2840aebf0851ea62baa82d4c45742e08d861acaa.tar.gz gcc-2840aebf0851ea62baa82d4c45742e08d861acaa.tar.bz2 |
Makefile.in (reg-stack.o): Depend on reload.h.
* Makefile.in (reg-stack.o): Depend on reload.h.
(insn-attrtab.o): Depend on flags.h.
* genattrtab (main): Include flags.h in insn-attrtab.c.
* reg-stack.c: Include reload.h.
* sparc.h (flag_pic): Delete redundant declaration.
* output.h (flag_pic): Likewise.
* tree.h (pedantic): Likewise.
From-SVN: r41340
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 15 | ||||
-rw-r--r-- | gcc/Makefile.in | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 3 | ||||
-rw-r--r-- | gcc/genattrtab.c | 1 | ||||
-rw-r--r-- | gcc/output.h | 5 | ||||
-rw-r--r-- | gcc/reg-stack.c | 1 | ||||
-rw-r--r-- | gcc/tree.h | 4 |
7 files changed, 20 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b3d3c91..f34c8a0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,20 @@ 2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * Makefile.in (reg-stack.o): Depend on reload.h. + (insn-attrtab.o): Depend on flags.h. + + * genattrtab (main): Include flags.h in insn-attrtab.c. + + * reg-stack.c: Include reload.h. + + * sparc.h (flag_pic): Delete redundant declaration. + + * output.h (flag_pic): Likewise. + + * tree.h (pedantic): Likewise. + +2001-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h * jump.c, regmove.c, toplev.c: Include reload.h. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index b824f39..69054d0 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1557,7 +1557,7 @@ recog.o : recog.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) function.h $(BASIC_BLOCK_H) \ $(REGS_H) $(RECOG_H) hard-reg-set.h flags.h insn-config.h $(INSN_ATTR_H) \ real.h toplev.h output.h reload.h $(TM_P_H) reg-stack.o : reg-stack.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) $(RECOG_H) \ - $(REGS_H) hard-reg-set.h flags.h insn-config.h toplev.h \ + $(REGS_H) hard-reg-set.h flags.h insn-config.h toplev.h reload.h \ varray.h function.h $(TM_P_H) predict.o: predict.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \ insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h \ @@ -1696,7 +1696,8 @@ s-peep : $(md_file) genpeep$(build_exeext) $(srcdir)/move-if-change touch s-peep insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(RTL_H) $(REGS_H) real.h \ - output.h $(INSN_ATTR_H) insn-config.h $(SYSTEM_H) toplev.h $(RECOG_H) $(TM_P_H) + output.h $(INSN_ATTR_H) insn-config.h $(SYSTEM_H) toplev.h $(RECOG_H) \ + $(TM_P_H) flags.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-attrtab.c insn-attr.h: s-attr ; @true diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index d65908e..9cfe4f7 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -3409,6 +3409,3 @@ do { \ #define DONT_ACCESS_GBLS_AFTER_EPILOGUE (flag_pic) -/* Defined in flags.h, but insn-emit.c does not include flags.h. */ - -extern int flag_pic; diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index b749e97..fcf449c 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -6149,6 +6149,7 @@ from the machine description file `md'. */\n\n"); printf ("#include \"output.h\"\n"); printf ("#include \"insn-attr.h\"\n"); printf ("#include \"toplev.h\"\n"); + printf ("#include \"flags.h\"\n"); printf ("\n"); printf ("#define operands recog_data.operand\n\n"); diff --git a/gcc/output.h b/gcc/output.h index 93badde..407435f 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -375,11 +375,6 @@ extern int which_alternative; extern rtx final_sequence; #endif -/* Nonzero means generate position-independent code. - This is not fully implemented yet. */ - -extern int flag_pic; - /* The line number of the beginning of the current function. sdbout.c needs this so that it can output relative linenumbers. */ diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index e31338a..43bedeb 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -166,6 +166,7 @@ #include "output.h" #include "basic-block.h" #include "varray.h" +#include "reload.h" #ifdef STACK_REGS @@ -2455,10 +2455,6 @@ extern const char *input_filename; /* Current line number in input file. */ extern int lineno; -/* Nonzero for -pedantic switch: warn about anything - that standard C forbids. */ -extern int pedantic; - /* Nonzero means lvalues are limited to those valid in pedantic ANSI C. Zero means allow extended lvalues. */ |