mirror of git://gcc.gnu.org/git/gcc.git
toplev.h (_fatal_insn_not_found, [...]): Move declarations to rtl.h.
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> * toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations to rtl.h. (error_for_asm, warning_for_asm): Move declarations to rtl-error.h. * rtl.h (_fatal_insn_not_found, _fatal_insn): Move declarations here. * rtl-error.h: New. * regrename.c: Do not include toplev.h. Include rtl-error.h. * rtl-error.c: Likewise. * reload.c: Likewise. * recog.c: Likewise. * sel-sched.c: Likewise. * function.c: Likewise. * reg-stack.c: Likewise. * cfgrtl.c: Likewise. * reload1.c: Likewise. * final.c: Include rtl-error. * Makefile.in: Adjust dependencies. From-SVN: r161617
This commit is contained in:
parent
b1570cac54
commit
0cbd999369
|
|
@ -1,3 +1,23 @@
|
||||||
|
2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
|
||||||
|
|
||||||
|
* toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations
|
||||||
|
to rtl.h.
|
||||||
|
(error_for_asm, warning_for_asm): Move declarations to rtl-error.h.
|
||||||
|
* rtl.h (_fatal_insn_not_found, _fatal_insn): Move declarations
|
||||||
|
here.
|
||||||
|
* rtl-error.h: New.
|
||||||
|
* regrename.c: Do not include toplev.h. Include rtl-error.h.
|
||||||
|
* rtl-error.c: Likewise.
|
||||||
|
* reload.c: Likewise.
|
||||||
|
* recog.c: Likewise.
|
||||||
|
* sel-sched.c: Likewise.
|
||||||
|
* function.c: Likewise.
|
||||||
|
* reg-stack.c: Likewise.
|
||||||
|
* cfgrtl.c: Likewise.
|
||||||
|
* reload1.c: Likewise.
|
||||||
|
* final.c: Include rtl-error.
|
||||||
|
* Makefile.in: Adjust dependencies.
|
||||||
|
|
||||||
2010-06-30 Jan Hubicka <jh@suse.cz>
|
2010-06-30 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
PR middle-end/PR44706
|
PR middle-end/PR44706
|
||||||
|
|
|
||||||
|
|
@ -871,6 +871,7 @@ RTL_BASE_H = rtl.h rtl.def $(MACHMODE_H) reg-notes.def insn-notes.def \
|
||||||
$(INPUT_H) $(REAL_H) statistics.h $(VEC_H) $(FIXED_VALUE_H) alias.h
|
$(INPUT_H) $(REAL_H) statistics.h $(VEC_H) $(FIXED_VALUE_H) alias.h
|
||||||
FIXED_VALUE_H = fixed-value.h $(MACHMODE_H) double-int.h
|
FIXED_VALUE_H = fixed-value.h $(MACHMODE_H) double-int.h
|
||||||
RTL_H = $(RTL_BASE_H) genrtl.h vecir.h
|
RTL_H = $(RTL_BASE_H) genrtl.h vecir.h
|
||||||
|
RTL_ERROR_H = $(RTL_H) $(DIAGNOSTIC_CORE_H)
|
||||||
READ_MD_H = $(OBSTACK_H) $(HASHTAB_H) read-md.h
|
READ_MD_H = $(OBSTACK_H) $(HASHTAB_H) read-md.h
|
||||||
PARAMS_H = params.h params.def
|
PARAMS_H = params.h params.def
|
||||||
BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def
|
BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def
|
||||||
|
|
@ -2848,8 +2849,8 @@ main.o : main.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TOPLEV_H)
|
||||||
host-default.o : host-default.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
host-default.o : host-default.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||||
hosthooks.h $(HOSTHOOKS_DEF_H)
|
hosthooks.h $(HOSTHOOKS_DEF_H)
|
||||||
|
|
||||||
rtl-error.o: rtl-error.c $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
rtl-error.o: rtl-error.c $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(INSN_ATTR_H) insn-config.h $(INPUT_H) $(TOPLEV_H) intl.h $(DIAGNOSTIC_H) \
|
$(INSN_ATTR_H) insn-config.h $(INPUT_H) intl.h $(DIAGNOSTIC_H) \
|
||||||
$(CONFIG_H)
|
$(CONFIG_H)
|
||||||
|
|
||||||
rtl.o : rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
rtl.o : rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
||||||
|
|
@ -2869,10 +2870,10 @@ varasm.o : varasm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
||||||
$(HASHTAB_H) $(TARGET_H) langhooks.h gt-varasm.h $(BASIC_BLOCK_H) \
|
$(HASHTAB_H) $(TARGET_H) langhooks.h gt-varasm.h $(BASIC_BLOCK_H) \
|
||||||
$(CFGLAYOUT_H) $(CGRAPH_H) targhooks.h tree-mudflap.h \
|
$(CFGLAYOUT_H) $(CGRAPH_H) targhooks.h tree-mudflap.h \
|
||||||
tree-iterator.h
|
tree-iterator.h
|
||||||
function.o : function.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
function.o : function.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(TREE_H) $(CFGLAYOUT_H) $(GIMPLE_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) \
|
$(TREE_H) $(CFGLAYOUT_H) $(GIMPLE_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) \
|
||||||
$(OPTABS_H) libfuncs.h $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
|
$(OPTABS_H) libfuncs.h $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
|
||||||
output.h $(TOPLEV_H) $(EXCEPT_H) $(HASHTAB_H) $(GGC_H) $(TM_P_H) langhooks.h \
|
output.h $(EXCEPT_H) $(HASHTAB_H) $(GGC_H) $(TM_P_H) langhooks.h \
|
||||||
gt-function.h $(TARGET_H) $(BASIC_BLOCK_H) $(INTEGRATE_H) $(PREDICT_H) \
|
gt-function.h $(TARGET_H) $(BASIC_BLOCK_H) $(INTEGRATE_H) $(PREDICT_H) \
|
||||||
$(TREE_PASS_H) $(DF_H) $(TIMEVAR_H) vecprim.h
|
$(TREE_PASS_H) $(DF_H) $(TIMEVAR_H) vecprim.h
|
||||||
statistics.o : statistics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
statistics.o : statistics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||||
|
|
@ -3199,9 +3200,9 @@ cfgexpand.o : cfgexpand.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
||||||
$(DIAGNOSTIC_H) $(TOPLEV_H) $(BASIC_BLOCK_H) $(FLAGS_H) debug.h $(PARAMS_H) \
|
$(DIAGNOSTIC_H) $(TOPLEV_H) $(BASIC_BLOCK_H) $(FLAGS_H) debug.h $(PARAMS_H) \
|
||||||
value-prof.h $(TREE_INLINE_H) $(TARGET_H) $(SSAEXPAND_H) \
|
value-prof.h $(TREE_INLINE_H) $(TARGET_H) $(SSAEXPAND_H) \
|
||||||
tree-pretty-print.h gimple-pretty-print.h $(BITMAP_H) sbitmap.h $(INSN_ATTR_H)
|
tree-pretty-print.h gimple-pretty-print.h $(BITMAP_H) sbitmap.h $(INSN_ATTR_H)
|
||||||
cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
|
$(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
|
||||||
output.h $(TOPLEV_H) $(FUNCTION_H) $(EXCEPT_H) $(TM_P_H) $(INSN_ATTR_H) \
|
output.h $(FUNCTION_H) $(EXCEPT_H) $(TM_P_H) $(INSN_ATTR_H) \
|
||||||
insn-config.h $(EXPR_H) \
|
insn-config.h $(EXPR_H) \
|
||||||
$(CFGLAYOUT_H) $(CFGLOOP_H) $(OBSTACK_H) $(TARGET_H) $(TREE_H) \
|
$(CFGLAYOUT_H) $(CFGLOOP_H) $(OBSTACK_H) $(TARGET_H) $(TREE_H) \
|
||||||
$(TREE_PASS_H) $(DF_H) $(GGC_H)
|
$(TREE_PASS_H) $(DF_H) $(GGC_H)
|
||||||
|
|
@ -3265,13 +3266,13 @@ bitmap.o : bitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
||||||
$(FLAGS_H) $(GGC_H) gt-bitmap.h $(BITMAP_H) $(OBSTACK_H) $(HASHTAB_H)
|
$(FLAGS_H) $(GGC_H) gt-bitmap.h $(BITMAP_H) $(OBSTACK_H) $(HASHTAB_H)
|
||||||
vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(VEC_H) $(GGC_H) \
|
vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(VEC_H) $(GGC_H) \
|
||||||
$(TOPLEV_H) $(HASHTAB_H)
|
$(TOPLEV_H) $(HASHTAB_H)
|
||||||
reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(FLAGS_H) output.h $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \
|
$(FLAGS_H) output.h $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \
|
||||||
hard-reg-set.h insn-config.h $(REGS_H) $(FUNCTION_H) real.h $(TOPLEV_H) \
|
hard-reg-set.h insn-config.h $(REGS_H) $(FUNCTION_H) real.h \
|
||||||
addresses.h $(TM_P_H) $(PARAMS_H) $(TARGET_H) $(DF_H) ira.h
|
addresses.h $(TM_P_H) $(PARAMS_H) $(TARGET_H) $(DF_H) ira.h
|
||||||
reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
|
$(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
|
||||||
$(BASIC_BLOCK_H) $(RECOG_H) output.h $(FUNCTION_H) $(TOPLEV_H) $(TM_P_H) \
|
$(BASIC_BLOCK_H) $(RECOG_H) output.h $(FUNCTION_H) $(TM_P_H) \
|
||||||
addresses.h $(EXCEPT_H) $(TREE_H) $(FLAGS_H) $(MACHMODE_H) \
|
addresses.h $(EXCEPT_H) $(TREE_H) $(FLAGS_H) $(MACHMODE_H) \
|
||||||
$(OBSTACK_H) $(DF_H) $(TARGET_H) $(EMIT_RTL_H) ira.h
|
$(OBSTACK_H) $(DF_H) $(TARGET_H) $(EMIT_RTL_H) ira.h
|
||||||
rtlhooks.o : rtlhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
rtlhooks.o : rtlhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
||||||
|
|
@ -3380,8 +3381,8 @@ sched-vis.o : sched-vis.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(RTL_H) $(SCHED_INT_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H) \
|
$(RTL_H) $(SCHED_INT_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H) \
|
||||||
$(TREE_PASS_H) $(INSN_ATTR_H)
|
$(TREE_PASS_H) $(INSN_ATTR_H)
|
||||||
sel-sched.o : sel-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
sel-sched.o : sel-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
$(RTL_ERROR_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
||||||
$(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
|
$(FUNCTION_H) $(INSN_ATTR_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
|
||||||
$(TM_P_H) output.h $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) \
|
$(TM_P_H) output.h $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) \
|
||||||
$(SCHED_INT_H) $(GGC_H) $(TREE_H) langhooks.h rtlhooks-def.h \
|
$(SCHED_INT_H) $(GGC_H) $(TREE_H) langhooks.h rtlhooks-def.h \
|
||||||
$(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) sel-sched.h $(DBGCNT_H) $(EMIT_RTL_H)
|
$(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) sel-sched.h $(DBGCNT_H) $(EMIT_RTL_H)
|
||||||
|
|
@ -3397,21 +3398,21 @@ sel-sched-ir.o : sel-sched-ir.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(TM_P_H) $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) $(SCHED_INT_H) $(GGC_H) \
|
$(TM_P_H) $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) $(SCHED_INT_H) $(GGC_H) \
|
||||||
$(TREE_H) langhooks.h rtlhooks-def.h $(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) \
|
$(TREE_H) langhooks.h rtlhooks-def.h $(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) \
|
||||||
$(EMIT_RTL_H)
|
$(EMIT_RTL_H)
|
||||||
final.o : final.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
final.o : final.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(TREE_H) $(FLAGS_H) intl.h $(REGS_H) $(RECOG_H) conditions.h \
|
$(TREE_H) $(FLAGS_H) intl.h $(REGS_H) $(RECOG_H) conditions.h \
|
||||||
insn-config.h $(INSN_ATTR_H) $(FUNCTION_H) output.h hard-reg-set.h \
|
insn-config.h $(INSN_ATTR_H) $(FUNCTION_H) output.h hard-reg-set.h \
|
||||||
$(EXCEPT_H) debug.h xcoffout.h $(TOPLEV_H) reload.h dwarf2out.h \
|
$(EXCEPT_H) debug.h xcoffout.h $(TOPLEV_H) reload.h dwarf2out.h \
|
||||||
$(TREE_PASS_H) $(BASIC_BLOCK_H) $(TM_P_H) $(TARGET_H) $(EXPR_H) \
|
$(TREE_PASS_H) $(BASIC_BLOCK_H) $(TM_P_H) $(TARGET_H) $(EXPR_H) \
|
||||||
$(CFGLAYOUT_H) dbxout.h $(TIMEVAR_H) $(CGRAPH_H) $(COVERAGE_H) \
|
$(CFGLAYOUT_H) dbxout.h $(TIMEVAR_H) $(CGRAPH_H) $(COVERAGE_H) \
|
||||||
$(DF_H) vecprim.h $(GGC_H) $(CFGLOOP_H) $(PARAMS_H) $(TREE_FLOW_H)
|
$(DF_H) vecprim.h $(GGC_H) $(CFGLOOP_H) $(PARAMS_H) $(TREE_FLOW_H)
|
||||||
recog.o : recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
recog.o : recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
|
||||||
$(FUNCTION_H) $(BASIC_BLOCK_H) $(REGS_H) $(RECOG_H) $(EXPR_H) \
|
$(FUNCTION_H) $(BASIC_BLOCK_H) $(REGS_H) $(RECOG_H) $(EXPR_H) \
|
||||||
$(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(TOPLEV_H) output.h reload.h \
|
$(FLAGS_H) insn-config.h $(INSN_ATTR_H) output.h reload.h \
|
||||||
addresses.h $(TM_P_H) $(TIMEVAR_H) $(TREE_PASS_H) hard-reg-set.h \
|
addresses.h $(TM_P_H) $(TIMEVAR_H) $(TREE_PASS_H) hard-reg-set.h \
|
||||||
$(DF_H) $(DBGCNT_H) $(TARGET_H)
|
$(DF_H) $(DBGCNT_H) $(TARGET_H)
|
||||||
reg-stack.o : reg-stack.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
reg-stack.o : reg-stack.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(RTL_H) $(TREE_H) $(RECOG_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
|
$(RTL_ERROR_H) $(TREE_H) $(RECOG_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
|
||||||
insn-config.h $(TOPLEV_H) reload.h $(FUNCTION_H) $(TM_P_H) $(GGC_H) \
|
insn-config.h reload.h $(FUNCTION_H) $(TM_P_H) $(GGC_H) \
|
||||||
$(BASIC_BLOCK_H) $(CFGLAYOUT_H) output.h $(TIMEVAR_H) \
|
$(BASIC_BLOCK_H) $(CFGLAYOUT_H) output.h $(TIMEVAR_H) \
|
||||||
$(TREE_PASS_H) $(TARGET_H) vecprim.h $(DF_H) $(EMIT_RTL_H)
|
$(TREE_PASS_H) $(TARGET_H) vecprim.h $(DF_H) $(EMIT_RTL_H)
|
||||||
sreal.o: sreal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) sreal.h
|
sreal.o: sreal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) sreal.h
|
||||||
|
|
@ -3443,9 +3444,9 @@ regcprop.o : regcprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
|
output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
|
||||||
addresses.h reload.h $(TOPLEV_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
|
addresses.h reload.h $(TOPLEV_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
|
||||||
regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||||
$(RTL_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
|
$(RTL_ERROR_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
|
||||||
output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
|
output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
|
||||||
addresses.h reload.h $(TOPLEV_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
|
addresses.h reload.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
|
||||||
ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
||||||
$(REGS_H) $(TOPLEV_H) $(FLAGS_H) insn-config.h $(FUNCTION_H) $(RECOG_H) \
|
$(REGS_H) $(TOPLEV_H) $(FLAGS_H) insn-config.h $(FUNCTION_H) $(RECOG_H) \
|
||||||
$(TARGET_H) $(BASIC_BLOCK_H) $(EXPR_H) output.h $(EXCEPT_H) $(TM_P_H) \
|
$(TARGET_H) $(BASIC_BLOCK_H) $(EXPR_H) output.h $(EXCEPT_H) $(TM_P_H) \
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "tree.h"
|
#include "tree.h"
|
||||||
#include "rtl.h"
|
|
||||||
#include "hard-reg-set.h"
|
#include "hard-reg-set.h"
|
||||||
#include "basic-block.h"
|
#include "basic-block.h"
|
||||||
#include "regs.h"
|
#include "regs.h"
|
||||||
|
|
@ -50,7 +49,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "except.h"
|
#include "except.h"
|
||||||
#include "toplev.h"
|
#include "rtl-error.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,8 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "except.h"
|
#include "except.h"
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "toplev.h"
|
#include "rtl-error.h"
|
||||||
|
#include "toplev.h" /* exact_log2, floor_log2 */
|
||||||
#include "reload.h"
|
#include "reload.h"
|
||||||
#include "intl.h"
|
#include "intl.h"
|
||||||
#include "basic-block.h"
|
#include "basic-block.h"
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "tree.h"
|
#include "tree.h"
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
#include "except.h"
|
#include "except.h"
|
||||||
|
|
@ -51,7 +51,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "recog.h"
|
#include "recog.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "basic-block.h"
|
#include "basic-block.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "hashtab.h"
|
#include "hashtab.h"
|
||||||
#include "ggc.h"
|
#include "ggc.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
|
|
@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "expr.h"
|
#include "expr.h"
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "basic-block.h"
|
#include "basic-block.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "reload.h"
|
#include "reload.h"
|
||||||
|
|
|
||||||
|
|
@ -156,14 +156,13 @@
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "tree.h"
|
#include "tree.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "regs.h"
|
#include "regs.h"
|
||||||
#include "hard-reg-set.h"
|
#include "hard-reg-set.h"
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "recog.h"
|
#include "recog.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "basic-block.h"
|
#include "basic-block.h"
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "regs.h"
|
#include "regs.h"
|
||||||
|
|
@ -34,7 +34,6 @@
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "recog.h"
|
#include "recog.h"
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "timevar.h"
|
#include "timevar.h"
|
||||||
#include "tree-pass.h"
|
#include "tree-pass.h"
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ a register with any other reload. */
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "expr.h"
|
#include "expr.h"
|
||||||
|
|
@ -108,7 +108,6 @@ a register with any other reload. */
|
||||||
#include "flags.h"
|
#include "flags.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "params.h"
|
#include "params.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "ira.h"
|
#include "ira.h"
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
|
|
||||||
#include "machmode.h"
|
#include "machmode.h"
|
||||||
#include "hard-reg-set.h"
|
#include "hard-reg-set.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
|
|
@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "reload.h"
|
#include "reload.h"
|
||||||
#include "recog.h"
|
#include "recog.h"
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "except.h"
|
#include "except.h"
|
||||||
#include "tree.h"
|
#include "tree.h"
|
||||||
#include "ira.h"
|
#include "ira.h"
|
||||||
|
|
|
||||||
|
|
@ -22,11 +22,10 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "rtl.h"
|
#include "rtl-error.h"
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "intl.h"
|
#include "intl.h"
|
||||||
#include "diagnostic.h"
|
#include "diagnostic.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
/* RTL specific diagnostic subroutines for GCC
|
||||||
|
Copyright (C) 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This file is part of GCC.
|
||||||
|
|
||||||
|
GCC is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 3, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
GCC is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with GCC; see the file COPYING3. If not see
|
||||||
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include "rtl.h"
|
||||||
|
#include "diagnostic-core.h"
|
||||||
|
|
||||||
|
extern void error_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
|
||||||
|
extern void warning_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
|
||||||
13
gcc/rtl.h
13
gcc/rtl.h
|
|
@ -2440,4 +2440,17 @@ extern int curr_insn_locator (void);
|
||||||
extern bool optimize_insn_for_size_p (void);
|
extern bool optimize_insn_for_size_p (void);
|
||||||
extern bool optimize_insn_for_speed_p (void);
|
extern bool optimize_insn_for_speed_p (void);
|
||||||
|
|
||||||
|
/* rtl-error.c */
|
||||||
|
extern void _fatal_insn_not_found (const_rtx, const char *, int, const char *)
|
||||||
|
ATTRIBUTE_NORETURN;
|
||||||
|
extern void _fatal_insn (const char *, const_rtx, const char *, int, const char *)
|
||||||
|
ATTRIBUTE_NORETURN;
|
||||||
|
|
||||||
|
#define fatal_insn(msgid, insn) \
|
||||||
|
_fatal_insn (msgid, insn, __FILE__, __LINE__, __FUNCTION__)
|
||||||
|
#define fatal_insn_not_found(insn) \
|
||||||
|
_fatal_insn_not_found (insn, __FILE__, __LINE__, __FUNCTION__)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* ! GCC_RTL_H */
|
#endif /* ! GCC_RTL_H */
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,7 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "coretypes.h"
|
#include "coretypes.h"
|
||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "toplev.h"
|
#include "rtl-error.h"
|
||||||
#include "rtl.h"
|
|
||||||
#include "tm_p.h"
|
#include "tm_p.h"
|
||||||
#include "hard-reg-set.h"
|
#include "hard-reg-set.h"
|
||||||
#include "regs.h"
|
#include "regs.h"
|
||||||
|
|
@ -31,7 +30,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
#include "insn-config.h"
|
#include "insn-config.h"
|
||||||
#include "insn-attr.h"
|
#include "insn-attr.h"
|
||||||
#include "except.h"
|
#include "except.h"
|
||||||
#include "toplev.h"
|
|
||||||
#include "recog.h"
|
#include "recog.h"
|
||||||
#include "params.h"
|
#include "params.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
|
|
|
||||||
12
gcc/toplev.h
12
gcc/toplev.h
|
|
@ -32,16 +32,6 @@ along with GCC; see the file COPYING3. If not see
|
||||||
|
|
||||||
extern int toplev_main (int, char **);
|
extern int toplev_main (int, char **);
|
||||||
extern void strip_off_ending (char *, int);
|
extern void strip_off_ending (char *, int);
|
||||||
extern void _fatal_insn_not_found (const_rtx, const char *, int, const char *)
|
|
||||||
ATTRIBUTE_NORETURN;
|
|
||||||
extern void _fatal_insn (const char *, const_rtx, const char *, int, const char *)
|
|
||||||
ATTRIBUTE_NORETURN;
|
|
||||||
|
|
||||||
#define fatal_insn(msgid, insn) \
|
|
||||||
_fatal_insn (msgid, insn, __FILE__, __LINE__, __FUNCTION__)
|
|
||||||
#define fatal_insn_not_found(insn) \
|
|
||||||
_fatal_insn_not_found (insn, __FILE__, __LINE__, __FUNCTION__)
|
|
||||||
|
|
||||||
extern void rest_of_decl_compilation (tree, int, int);
|
extern void rest_of_decl_compilation (tree, int, int);
|
||||||
extern void rest_of_type_compilation (tree, int);
|
extern void rest_of_type_compilation (tree, int);
|
||||||
extern void tree_rest_of_compilation (tree);
|
extern void tree_rest_of_compilation (tree);
|
||||||
|
|
@ -56,8 +46,6 @@ extern void init_eh (void);
|
||||||
|
|
||||||
extern void announce_function (tree);
|
extern void announce_function (tree);
|
||||||
|
|
||||||
extern void error_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
|
|
||||||
extern void warning_for_asm (const_rtx, const char *, ...) ATTRIBUTE_GCC_DIAG(2,3);
|
|
||||||
extern void warn_deprecated_use (tree, tree);
|
extern void warn_deprecated_use (tree, tree);
|
||||||
extern bool parse_optimize_options (tree, bool);
|
extern bool parse_optimize_options (tree, bool);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue