(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41340
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
$(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 \
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
#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;
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");
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. */
#include "output.h"
#include "basic-block.h"
#include "varray.h"
+#include "reload.h"
#ifdef STACK_REGS
/* 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. */