system.h (dump_file): Do not define.
gcc/ * system.h (dump_file): Do not define. * tree-pass.h: Include dumpfile.h, which is a new file containing... (enum tree_dump_index, TDF_*, get_dump_file_name, dump_enabled_p, dump_initialized_p, dump_begin, dump_end, dump_node, dump_switch_p, dump_flag_name, dump_file, dump_flags, dump_file_name, get_dump_file_info, struct dump_file_info): all of this, moved to... * dumpfile.h: Here, new file. * tree-dump.h: Include dumpfile.h, but not tree-pass.h. (dump_stmt): Remove prototype for C++ specific function. (dump_enumerated_decls): Move prototype from here... * tree-flow.h (dump_enumerated_decls): ... to here. (get_ref_base_and_extent) Move prototype from here ... * tree.h (get_ref_base_and_extent) ... to here. * tree-ssa-live.c: Do not inclde tree-pretty-print.h, because gimple-pretty-print.h is enough. Do not include tree-dump.h, include timevar.h and dumpfile.h instead. (struct numbered_tree_d, compare_decls_by_uid, dump_enumerated_decls_push, dump_enumerated_decls): Move from here ... * tree-dfa.c:(struct numbered_tree_d, compare_decls_by_uid, dump_enumerated_decls_push, dump_enumerated_decls):... to here. Do not include timevar.h. * tree.c: Do not include timevar.h. * tree-cfg.c: Do not include langhooks.h, tree-pretty-print.h, and timevar.h. (dump_cfg_stats): Use current_function_name. (gimple_cfg2vcg): Likewise. (dump_function_to_file): Likewise. * df-scan.c: Do not include tree-pass.h and timevar.h. Include dumpfile.h. (df_entry_block_bitmap_verify, df_exit_block_bitmap_verify): Do not use print_current_pass. * df-problems.c: Include dumpfile.h. Always define REG_DEAD_DEBUGGING, avoid #ifdef code, because it leads to errors in the code not selected. (df_note_compute): Do not print_rtl_with_bb here. Fix compilation bug if REG_DEAD_DEBUGGING is not 0, get_insns is not available here. * lcm.c: Include dumpfile.h. Remove obsolete include of insn-attr.h. * dojump.c (do_compare_rtx_and_jump): Remove failure printing for missing probability notes. * stmt.c: Include dumpfile.h. (emit_case_decision_tree): Re-enable printing expand details only if TDF_DETAILS. * alias.c, auto-inc-dec.c, bb-reorder.c, caller-save.c, cfg.c, cfgcleanup.c, cfgexpand.c, cfgloop.c, cfgloopmanip.c, cgraph.c, cgraphclones.c, cgraphunit.c, combine.c, combine-stack-adj.c, coverage.c, cprop.c, cse.c, cselib.c, dbgcnt.c, dce.c, df-core.c, dse.c, dwarf2out.c, emit-rtl.c, except.c, expr.c, final.c, function.c, fwprop.c, gcse.c, gimple-fold.c, gimple-pretty-print.c, gimple-ssa-strength-reduction.c, gimplify.c, graphite-blocking.c, graphite-clast-to-gimple.c, graphite-dependences.c, graphite-interchange.c, graphite-optimize-isl.c, graphite-poly.c, graphite-sese-to-poly.c, haifa-sched.c, hw-doloop.c, ifcvt.c, ipa.c, ipa-cp.c, ipa-inline-analysis.c, ipa-inline.c, ipa-inline-transform.c, ipa-prop.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa-utils.c, ira.c, ira-emit.c, jump.c, loop-doloop.c, loop-init.c, loop-invariant.c, loop-iv.c, loop-unroll.c, loop-unswitch.c, lower-subreg.c, lto-section-out.c, lto-streamer-in.c, matrix-reorg.c, mcf.c, mode-switching.c, modulo-sched.c, omega.c, omp-low.c, passes.c, plugin.c, postreload.c, postreload-gcse.c, predict.c, print-rtl.c, print-tree.c, profile.c, recog.c, ree.c, regcprop.c, reginfo.c, regmove.c, regrename.c, reg-stack.c, reload1.c, reorg.c, sched-rgn.c, sched-vis.c, sel-sched.c, sel-sched-ir.c, store-motion.c, tracer.c, trans-mem.c, tree-affine.c, tree-call-cdce.c, tree-cfgcleanup.c, tree-chrec.c, tree-data-ref.c, tree-diagnostic.c, tree-dump.c, tree-eh.c, tree-flow-inline.h, tree-if-conv.c, tree-into-ssa.c, tree-mudflap.c, tree-nrv.c, tree-object-size.c, tree-optimize.c, tree-outof-ssa.c, tree-predcom.c, tree-pretty-print.c, tree-profile.c, tree-scalar-evolution.c, tree-sra.c, tree-ssa-address.c, tree-ssa-alias.c, tree-ssa.c, tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-copyrename.c,, tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, tree-ssa-loop.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-loop-niter.c, tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c, tree-ssa-math-opts.c, tree-ssa-operands.c, tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-propagate.c, tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-sink.c, tree-ssa-structalias.c, tree-ssa-tail-merge.c, tree-ssa-ter.c, tree-ssa-threadedge.c, tree-ssa-threadupdate.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-switch-conversion.c, tree-tailcall.c, tree-vect-data-refs.c, tree-vect-loop.c, tree-vect-loop-manip.c, tree-vectorizer.c, tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c, tree-vrp.c, value-prof.c, var-tracking.c, web.c: Include tree-pass.h only if needed. If tree-pass.h is included, do not include timevar.h and dumpfile.h. If tree-pass.h is not included but dump_file, or dump_flags, or the TDF_* flags are used, include dumpfile.h. If gimple-pretty-print.h is included, don't include tree-pretty-print.h. Remove assorted unnecessary includes. * config/mn10300/mn10300.c, config/c6x/c6x.c, config/ia64/ia64.c, config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c, config/spu/spu.c, config/mep/mep.c, config/i386/i386.c: Include dumpfile.h. * config/rl78/rl78.c: Include dumpfile.h instead of tree-pass.h. * arm/t-arm, avr/t-avr, i386/t-i386, ia64/t-ia64, mep/t-mep, spu/t-spu-elf: Fix dependencies. c-family/ * c-gimplify.c: Include dumpfile.h instead of tree-dump.h. * c-ada-spec.c: Likewise. * c-dump.c (dump_stmt): Move to cp/dump.c, the only user. c/ * c-decl.c: Include dumpfile.h instead of tree-dump.h. * Make-lang.in: Fix dependencies. cp/ * dump.c (dump_stmt): Moved here from c-dump.c. * optimize.c: Include dumpfile.h instead of tree-dump.h. * class.c: Likewise. * decl2.c: Likewise. * Make-lang.in: Fix dependencies. fortran/ * f95-lang.c: Include dumpfile.h instead of tree-dump.h. * Make-lang.in: Fix dependencies. java/ * java-gimplify.c Include dumpfile.h instead of tree-dump.h * Make-lang.in: Fix dependencies. lto/ * lto.c: Do not include timevar.h. * Make-lang.in: Fix dependencies. ada/ * gcc-interface/utils.c: Include timevar.h. * Make-lang.in: Fix dependencies. From-SVN: r189519
This commit is contained in:
parent
9e227d605e
commit
7ee2468b92
107
gcc/ChangeLog
107
gcc/ChangeLog
@ -1,3 +1,110 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* system.h (dump_file): Do not define.
|
||||
* tree-pass.h: Include dumpfile.h, which is a new file containing...
|
||||
(enum tree_dump_index, TDF_*, get_dump_file_name, dump_enabled_p,
|
||||
dump_initialized_p, dump_begin, dump_end, dump_node, dump_switch_p,
|
||||
dump_flag_name, dump_file, dump_flags, dump_file_name,
|
||||
get_dump_file_info, struct dump_file_info): all of this, moved to...
|
||||
* dumpfile.h: Here, new file.
|
||||
* tree-dump.h: Include dumpfile.h, but not tree-pass.h.
|
||||
(dump_stmt): Remove prototype for C++ specific function.
|
||||
(dump_enumerated_decls): Move prototype from here...
|
||||
* tree-flow.h (dump_enumerated_decls): ... to here.
|
||||
(get_ref_base_and_extent) Move prototype from here ...
|
||||
* tree.h (get_ref_base_and_extent) ... to here.
|
||||
* tree-ssa-live.c: Do not inclde tree-pretty-print.h, because
|
||||
gimple-pretty-print.h is enough. Do not include tree-dump.h,
|
||||
include timevar.h and dumpfile.h instead.
|
||||
(struct numbered_tree_d, compare_decls_by_uid,
|
||||
dump_enumerated_decls_push, dump_enumerated_decls): Move from here ...
|
||||
* tree-dfa.c:(struct numbered_tree_d, compare_decls_by_uid,
|
||||
dump_enumerated_decls_push, dump_enumerated_decls):... to here.
|
||||
Do not include timevar.h.
|
||||
* tree.c: Do not include timevar.h.
|
||||
* tree-cfg.c: Do not include langhooks.h, tree-pretty-print.h, and
|
||||
timevar.h.
|
||||
(dump_cfg_stats): Use current_function_name.
|
||||
(gimple_cfg2vcg): Likewise.
|
||||
(dump_function_to_file): Likewise.
|
||||
* df-scan.c: Do not include tree-pass.h and timevar.h.
|
||||
Include dumpfile.h.
|
||||
(df_entry_block_bitmap_verify, df_exit_block_bitmap_verify): Do not
|
||||
use print_current_pass.
|
||||
* df-problems.c: Include dumpfile.h.
|
||||
Always define REG_DEAD_DEBUGGING, avoid #ifdef code, because it
|
||||
leads to errors in the code not selected.
|
||||
(df_note_compute): Do not print_rtl_with_bb here. Fix compilation
|
||||
bug if REG_DEAD_DEBUGGING is not 0, get_insns is not available here.
|
||||
* lcm.c: Include dumpfile.h.
|
||||
Remove obsolete include of insn-attr.h.
|
||||
* dojump.c (do_compare_rtx_and_jump): Remove failure printing for
|
||||
missing probability notes.
|
||||
* stmt.c: Include dumpfile.h.
|
||||
(emit_case_decision_tree): Re-enable printing expand details only
|
||||
if TDF_DETAILS.
|
||||
* alias.c, auto-inc-dec.c, bb-reorder.c, caller-save.c, cfg.c,
|
||||
cfgcleanup.c, cfgexpand.c, cfgloop.c, cfgloopmanip.c, cgraph.c,
|
||||
cgraphclones.c, cgraphunit.c, combine.c, combine-stack-adj.c,
|
||||
coverage.c, cprop.c, cse.c, cselib.c, dbgcnt.c, dce.c, df-core.c,
|
||||
dse.c, dwarf2out.c, emit-rtl.c, except.c, expr.c, final.c,
|
||||
function.c, fwprop.c, gcse.c, gimple-fold.c,
|
||||
gimple-pretty-print.c, gimple-ssa-strength-reduction.c,
|
||||
gimplify.c, graphite-blocking.c, graphite-clast-to-gimple.c,
|
||||
graphite-dependences.c, graphite-interchange.c,
|
||||
graphite-optimize-isl.c, graphite-poly.c,
|
||||
graphite-sese-to-poly.c, haifa-sched.c, hw-doloop.c, ifcvt.c,
|
||||
ipa.c, ipa-cp.c, ipa-inline-analysis.c, ipa-inline.c,
|
||||
ipa-inline-transform.c, ipa-prop.c, ipa-pure-const.c,
|
||||
ipa-reference.c, ipa-split.c, ipa-utils.c, ira.c, ira-emit.c,
|
||||
jump.c, loop-doloop.c, loop-init.c, loop-invariant.c, loop-iv.c,
|
||||
loop-unroll.c, loop-unswitch.c, lower-subreg.c,
|
||||
lto-section-out.c, lto-streamer-in.c, matrix-reorg.c, mcf.c,
|
||||
mode-switching.c, modulo-sched.c, omega.c, omp-low.c, passes.c,
|
||||
plugin.c, postreload.c, postreload-gcse.c, predict.c, print-rtl.c,
|
||||
print-tree.c, profile.c, recog.c, ree.c, regcprop.c, reginfo.c,
|
||||
regmove.c, regrename.c, reg-stack.c, reload1.c, reorg.c,
|
||||
sched-rgn.c, sched-vis.c, sel-sched.c, sel-sched-ir.c,
|
||||
store-motion.c, tracer.c, trans-mem.c, tree-affine.c,
|
||||
tree-call-cdce.c, tree-cfgcleanup.c, tree-chrec.c,
|
||||
tree-data-ref.c, tree-diagnostic.c, tree-dump.c,
|
||||
tree-eh.c, tree-flow-inline.h, tree-if-conv.c, tree-into-ssa.c,
|
||||
tree-mudflap.c, tree-nrv.c, tree-object-size.c,
|
||||
tree-optimize.c, tree-outof-ssa.c, tree-predcom.c,
|
||||
tree-pretty-print.c, tree-profile.c, tree-scalar-evolution.c,
|
||||
tree-sra.c, tree-ssa-address.c, tree-ssa-alias.c, tree-ssa.c,
|
||||
tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-copy.c,
|
||||
tree-ssa-copyrename.c,, tree-ssa-dce.c, tree-ssa-dom.c,
|
||||
tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c,
|
||||
tree-ssa-loop.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c,
|
||||
tree-ssa-loop-ivcanon.c, tree-ssa-loop-ivopts.c,
|
||||
tree-ssa-loop-manip.c, tree-ssa-loop-niter.c,
|
||||
tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c,
|
||||
tree-ssa-math-opts.c, tree-ssa-operands.c, tree-ssa-phiopt.c,
|
||||
tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-propagate.c,
|
||||
tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-sink.c,
|
||||
tree-ssa-structalias.c, tree-ssa-tail-merge.c, tree-ssa-ter.c,
|
||||
tree-ssa-threadedge.c, tree-ssa-threadupdate.c,
|
||||
tree-ssa-uncprop.c, tree-ssa-uninit.c,
|
||||
tree-switch-conversion.c, tree-tailcall.c,
|
||||
tree-vect-data-refs.c, tree-vect-loop.c,
|
||||
tree-vect-loop-manip.c, tree-vectorizer.c,
|
||||
tree-vect-patterns.c, tree-vect-slp.c, tree-vect-stmts.c,
|
||||
tree-vrp.c, value-prof.c, var-tracking.c, web.c: Include tree-pass.h
|
||||
only if needed. If tree-pass.h is included, do not include timevar.h
|
||||
and dumpfile.h. If tree-pass.h is not included but dump_file, or
|
||||
dump_flags, or the TDF_* flags are used, include dumpfile.h.
|
||||
If gimple-pretty-print.h is included, don't include tree-pretty-print.h.
|
||||
Remove assorted unnecessary includes.
|
||||
|
||||
* config/mn10300/mn10300.c, config/c6x/c6x.c, config/ia64/ia64.c,
|
||||
config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c,
|
||||
config/spu/spu.c, config/mep/mep.c, config/i386/i386.c:
|
||||
Include dumpfile.h.
|
||||
* config/rl78/rl78.c: Include dumpfile.h instead of tree-pass.h.
|
||||
* arm/t-arm, avr/t-avr, i386/t-i386, ia64/t-ia64, mep/t-mep,
|
||||
spu/t-spu-elf: Fix dependencies.
|
||||
|
||||
2012-07-16 Dehao Chen <dehao@google.com>
|
||||
|
||||
Revert
|
||||
|
524
gcc/Makefile.in
524
gcc/Makefile.in
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,8 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* gcc-interface/utils.c: Include timevar.h.
|
||||
* Make-lang.in: Fix dependencies.
|
||||
|
||||
2012-07-16 Vasiliy Fofanov <fofanov@adacore.com>
|
||||
|
||||
* ug_words, vms_data.ads: Document VMS qualifiers for -gnatn1/2
|
||||
|
@ -1024,7 +1024,7 @@ ada/trans.o : ada/gcc-interface/trans.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
ada/utils.o : ada/gcc-interface/utils.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
||||
$(TM_H) $(TREE_H) $(FLAGS_H) toplev.h $(RTL_H) output.h debug.h convert.h \
|
||||
$(TARGET_H) $(COMMON_TARGET_H) function.h langhooks.h \
|
||||
$(CGRAPH_H) $(DIAGNOSTIC_H) \
|
||||
$(CGRAPH_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
|
||||
$(TREE_DUMP_H) $(TREE_INLINE_H) tree-iterator.h \
|
||||
ada/gcc-interface/ada.h ada/types.h ada/atree.h ada/elists.h ada/namet.h \
|
||||
ada/nlists.h ada/stringt.h ada/uintp.h ada/fe.h ada/sinfo.h ada/einfo.h \
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "langhooks.h"
|
||||
#include "cgraph.h"
|
||||
#include "diagnostic.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-dump.h"
|
||||
#include "tree-inline.h"
|
||||
#include "tree-iterator.h"
|
||||
|
@ -39,9 +39,9 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "ggc.h"
|
||||
#include "langhooks.h"
|
||||
#include "timevar.h"
|
||||
#include "dumpfile.h"
|
||||
#include "target.h"
|
||||
#include "cgraph.h"
|
||||
#include "tree-pass.h"
|
||||
#include "df.h"
|
||||
#include "tree-ssa-alias.h"
|
||||
#include "pointer-set.h"
|
||||
|
@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "diagnostic-core.h"
|
||||
#include "recog.h"
|
||||
#include "expr.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "df.h"
|
||||
#include "dbgcnt.h"
|
||||
|
@ -72,7 +72,6 @@
|
||||
#include "rtl.h"
|
||||
#include "regs.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "output.h"
|
||||
#include "fibheap.h"
|
||||
#include "target.h"
|
||||
|
@ -1,3 +1,9 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* c-gimplify.c: Include dumpfile.h instead of tree-dump.h.
|
||||
* c-ada-spec.c: Likewise.
|
||||
* c-dump.c (dump_stmt): Move to cp/dump.c, the only user.
|
||||
|
||||
2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define.
|
||||
|
@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "tree-pass.h" /* For TDI_ada and friends. */
|
||||
#include "dumpfile.h"
|
||||
#include "c-ada-spec.h"
|
||||
#include "cpplib.h"
|
||||
#include "c-pragma.h"
|
||||
|
@ -26,15 +26,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree-dump.h"
|
||||
#include "c-common.h"
|
||||
|
||||
/* Dump information common to statements from STMT. */
|
||||
|
||||
void
|
||||
dump_stmt (dump_info_p di, const_tree t)
|
||||
{
|
||||
if (EXPR_HAS_LOCATION (t))
|
||||
dump_int (di, "line", EXPR_LINENO (t));
|
||||
}
|
||||
|
||||
/* Dump any C-specific tree codes and attributes of common codes. */
|
||||
|
||||
bool
|
||||
|
@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "langhooks.h"
|
||||
#include "langhooks-def.h"
|
||||
#include "flags.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "c-pretty-print.h"
|
||||
#include "cgraph.h"
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* c-decl.c: Include dumpfile.h instead of tree-dump.h.
|
||||
* Make-lang.in: Fix dependencies.
|
||||
|
||||
2012-06-29 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* Make-lang.in: New file, rules migrated from gcc/Makefile.in
|
||||
|
@ -163,7 +163,7 @@ c/c-decl.o : c/c-decl.c c/c-lang.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
output.h debug.h toplev.h intl.h $(TM_P_H) $(TREE_INLINE_H) \
|
||||
$(TIMEVAR_H) $(OPTS_H) $(C_PRAGMA_H) gt-c-c-decl.h $(CGRAPH_H) \
|
||||
$(HASHTAB_H) $(LANGHOOKS_DEF_H) \
|
||||
$(TREE_DUMP_H) $(C_COMMON_H) $(CPPLIB_H) $(DIAGNOSTIC_CORE_H) \
|
||||
dumpfile.h $(C_COMMON_H) $(CPPLIB_H) $(DIAGNOSTIC_CORE_H) \
|
||||
$(INPUT_H) langhooks.h pointer-set.h tree-iterator.h \
|
||||
$(PLUGIN_H) c-family/c-ada-spec.h c-family/c-objc.h
|
||||
|
||||
|
@ -51,7 +51,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "langhooks.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "diagnostic-core.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cgraph.h"
|
||||
#include "hashtab.h"
|
||||
#include "langhooks-def.h"
|
||||
|
@ -38,6 +38,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tm_p.h"
|
||||
#include "addresses.h"
|
||||
#include "ggc.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
#define MOVE_MAX_WORDS (MOVE_MAX / UNITS_PER_WORD)
|
||||
|
||||
|
@ -58,6 +58,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "basic-block.h"
|
||||
#include "df.h"
|
||||
#include "cfgloop.h" /* FIXME: For struct loop. */
|
||||
#include "dumpfile.h"
|
||||
|
||||
|
||||
#define RDIV(X,Y) (((X) + (Y) / 2) / (Y))
|
||||
|
@ -38,7 +38,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "rtl.h"
|
||||
#include "hard-reg-set.h"
|
||||
#include "regs.h"
|
||||
#include "timevar.h"
|
||||
#include "insn-config.h"
|
||||
#include "flags.h"
|
||||
#include "recog.h"
|
||||
|
@ -30,13 +30,10 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "expr.h"
|
||||
#include "langhooks.h"
|
||||
#include "tree-flow.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-dump.h"
|
||||
#include "tree-pass.h"
|
||||
#include "except.h"
|
||||
#include "flags.h"
|
||||
#include "diagnostic.h"
|
||||
#include "tree-pretty-print.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "toplev.h"
|
||||
#include "debug.h"
|
||||
|
@ -23,8 +23,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "rtl.h"
|
||||
#include "hard-reg-set.h"
|
||||
#include "obstack.h"
|
||||
#include "function.h"
|
||||
#include "basic-block.h"
|
||||
#include "cfgloop.h"
|
||||
@ -34,6 +32,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree-flow.h"
|
||||
#include "pointer-set.h"
|
||||
#include "ggc.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
static void flow_loops_cfg_dump (FILE *);
|
||||
|
||||
|
@ -23,11 +23,10 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "coretypes.h"
|
||||
#include "tm.h"
|
||||
#include "rtl.h"
|
||||
#include "hard-reg-set.h"
|
||||
#include "obstack.h"
|
||||
#include "basic-block.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-flow.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
static void copy_loops_to (struct loop **, int,
|
||||
struct loop *);
|
||||
|
@ -41,7 +41,8 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cgraph.h"
|
||||
#include "intl.h"
|
||||
#include "gimple.h"
|
||||
#include "tree-dump.h"
|
||||
#include "timevar.h"
|
||||
#include "dumpfile.h"
|
||||
#include "tree-flow.h"
|
||||
#include "value-prof.h"
|
||||
#include "except.h"
|
||||
@ -53,6 +54,9 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cfgloop.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
|
||||
/* FIXME: Only for PROP_loops, but cgraph shouldn't have to know about this. */
|
||||
#include "tree-pass.h"
|
||||
|
||||
static void cgraph_node_remove_callers (struct cgraph_node *node);
|
||||
static inline void cgraph_edge_remove_caller (struct cgraph_edge *e);
|
||||
static inline void cgraph_edge_remove_callee (struct cgraph_edge *e);
|
||||
|
@ -82,15 +82,12 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "target.h"
|
||||
#include "cgraph.h"
|
||||
#include "diagnostic.h"
|
||||
#include "timevar.h"
|
||||
#include "params.h"
|
||||
#include "fibheap.h"
|
||||
#include "intl.h"
|
||||
#include "function.h"
|
||||
#include "ipa-prop.h"
|
||||
#include "gimple.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-dump.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "coverage.h"
|
||||
|
@ -176,7 +176,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "target.h"
|
||||
#include "cgraph.h"
|
||||
#include "diagnostic.h"
|
||||
#include "timevar.h"
|
||||
#include "params.h"
|
||||
#include "fibheap.h"
|
||||
#include "intl.h"
|
||||
|
@ -57,7 +57,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "df.h"
|
||||
#include "except.h"
|
||||
#include "reload.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
|
||||
|
||||
|
@ -98,7 +98,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "insn-codes.h"
|
||||
#include "rtlhooks-def.h"
|
||||
#include "params.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "df.h"
|
||||
#include "cgraph.h"
|
||||
|
@ -55,6 +55,7 @@
|
||||
#include "libfuncs.h"
|
||||
#include "params.h"
|
||||
#include "opts.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* Forward definitions of types. */
|
||||
typedef struct minipool_node Mnode;
|
||||
|
@ -75,7 +75,7 @@ $(srcdir)/config/arm/arm-tables.opt: $(srcdir)/config/arm/genopt.sh \
|
||||
|
||||
arm.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(RTL_H) $(TREE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
|
||||
insn-config.h conditions.h output.h \
|
||||
insn-config.h conditions.h output.h dumpfile.h \
|
||||
$(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
|
||||
$(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
|
||||
$(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "input.h"
|
||||
#include "function.h"
|
||||
#include "tm_p.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-pass.h" /* for current_pass */
|
||||
|
||||
/* This file supplies some functions for AVR back-end developers
|
||||
with a printf-like interface. The functions are called through
|
||||
|
@ -31,7 +31,7 @@ avr-c.o: $(srcdir)/config/avr/avr-c.c \
|
||||
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
|
||||
|
||||
avr-log.o: $(srcdir)/config/avr/avr-log.c \
|
||||
$(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(INPUT_H)
|
||||
$(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(INPUT_H) dumpfile.h
|
||||
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
|
||||
|
||||
avr.o avr-c.o: $(srcdir)/config/avr/builtins.def
|
||||
|
@ -56,6 +56,7 @@
|
||||
#include "sel-sched.h"
|
||||
#include "hw-doloop.h"
|
||||
#include "opts.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* A C structure for machine-specific, per-function data.
|
||||
This is added to the cfun structure. */
|
||||
|
@ -51,6 +51,7 @@
|
||||
#include "opts.h"
|
||||
#include "hw-doloop.h"
|
||||
#include "regrename.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* Table of supported architecture variants. */
|
||||
typedef struct
|
||||
|
@ -45,7 +45,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "insn-codes.h"
|
||||
#include "ggc.h"
|
||||
#include "tm-constrs.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-pass.h" /* for current_pass */
|
||||
|
||||
/* Which cpu we're compiling for. */
|
||||
int epiphany_cpu_type;
|
||||
|
@ -48,6 +48,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "targhooks.h"
|
||||
#include "langhooks.h"
|
||||
#include "df.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
#ifndef FRV_INLINE
|
||||
#define FRV_INLINE inline
|
||||
|
@ -61,6 +61,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "fibheap.h"
|
||||
#include "opts.h"
|
||||
#include "diagnostic.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
enum upper_128bits_state
|
||||
{
|
||||
|
@ -16,7 +16,7 @@
|
||||
# along with GCC; see the file COPYING3. If not see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
|
||||
i386.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
i386.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \
|
||||
$(RTL_H) $(TREE_H) $(TM_P_H) $(REGS_H) hard-reg-set.h \
|
||||
$(REAL_H) insn-config.h conditions.h output.h insn-codes.h \
|
||||
$(INSN_ATTR_H) $(FLAGS_H) $(C_COMMON_H) except.h $(FUNCTION_H) \
|
||||
|
@ -61,6 +61,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "sel-sched.h"
|
||||
#include "reload.h"
|
||||
#include "opts.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* This is used for communication between ASM_OUTPUT_LABEL and
|
||||
ASM_OUTPUT_LABELREF. */
|
||||
|
@ -26,4 +26,4 @@ ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \
|
||||
# genattrtab generates very long string literals.
|
||||
insn-attrtab.o-warn = -Wno-error
|
||||
|
||||
ia64.o: debug.h $(PARAMS_H) sel-sched.h reload.h $(OPTS_H)
|
||||
ia64.o: debug.h $(PARAMS_H) sel-sched.h reload.h $(OPTS_H) dumpfile.h
|
||||
|
@ -51,6 +51,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "df.h"
|
||||
#include "gimple.h"
|
||||
#include "opts.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* Structure of this file:
|
||||
|
||||
|
@ -40,7 +40,7 @@ MD_INCLUDES = \
|
||||
$(srcdir)/config/mep/predicates.md \
|
||||
$(srcdir)/config/mep/constraints.md
|
||||
|
||||
mep.o : $(srcdir)/config/mep/mep-intrin.h
|
||||
mep.o : $(srcdir)/config/mep/mep-intrin.h dumpfile.h
|
||||
|
||||
# begin-isas
|
||||
MEP_CORE = ext_core1
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "df.h"
|
||||
#include "opts.h"
|
||||
#include "cfgloop.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* This is used in the am33_2.0-linux-gnu port, in which global symbol
|
||||
names are not prefixed by underscores, to tell whether to prefix a
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include "target-def.h"
|
||||
#include "langhooks.h"
|
||||
#include "rl78-protos.h"
|
||||
#include "tree-pass.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
static inline bool is_interrupt_func (const_tree decl);
|
||||
static inline bool is_brk_interrupt_func (const_tree decl);
|
||||
|
@ -52,6 +52,7 @@
|
||||
#include "sbitmap.h"
|
||||
#include "timevar.h"
|
||||
#include "df.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* Builtin types, data and prototypes. */
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
MULTILIB_OPTIONS=mea64
|
||||
|
||||
spu.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
||||
$(RTL_H) $(REGS_H) hard-reg-set.h \
|
||||
$(RTL_H) $(REGS_H) hard-reg-set.h dumpfile.h \
|
||||
real.h insn-config.h conditions.h insn-attr.h flags.h $(RECOG_H) \
|
||||
$(OBSTACK_H) $(TREE_H) $(EXPR_H) $(OPTABS_H) except.h function.h \
|
||||
output.h $(BASIC_BLOCK_H) $(GGC_H) $(HASHTAB_H) \
|
||||
|
@ -46,7 +46,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "hashtab.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "cgraph.h"
|
||||
#include "tree-pass.h"
|
||||
#include "dumpfile.h"
|
||||
#include "diagnostic-core.h"
|
||||
#include "intl.h"
|
||||
#include "filenames.h"
|
||||
|
@ -1,3 +1,11 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* dump.c (dump_stmt): Moved here from c-dump.c.
|
||||
* optimize.c: Include dumpfile.h instead of tree-dump.h.
|
||||
* class.c: Likewise.
|
||||
* decl2.c: Likewise.
|
||||
* Make-lang.in: Fix dependencies.
|
||||
|
||||
2012-07-13 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/53953
|
||||
|
@ -279,7 +279,7 @@ cp/decl.o: cp/decl.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) cp/decl.h \
|
||||
c-family/c-objc.h
|
||||
cp/decl2.o: cp/decl2.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) cp/decl.h \
|
||||
toplev.h $(C_COMMON_H) gt-cp-decl2.h $(CGRAPH_H) \
|
||||
$(C_PRAGMA_H) $(TREE_DUMP_H) intl.h $(TARGET_H) $(GIMPLE_H) pointer-set.h \
|
||||
$(C_PRAGMA_H) dumpfile.h intl.h $(TARGET_H) $(GIMPLE_H) pointer-set.h \
|
||||
$(SPLAY_TREE_H) c-family/c-ada-spec.h \
|
||||
c-family/c-objc.h
|
||||
cp/cp-objcp-common.o : cp/cp-objcp-common.c $(CONFIG_H) $(SYSTEM_H) \
|
||||
@ -292,7 +292,7 @@ cp/typeck.o: cp/typeck.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) \
|
||||
toplev.h $(DIAGNOSTIC_H) convert.h $(C_COMMON_H) $(TARGET_H) \
|
||||
c-family/c-objc.h
|
||||
cp/class.o: cp/class.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) toplev.h \
|
||||
$(TARGET_H) convert.h $(CGRAPH_H) $(TREE_DUMP_H) gt-cp-class.h \
|
||||
$(TARGET_H) convert.h $(CGRAPH_H) dumpfile.h gt-cp-class.h \
|
||||
$(SPLAY_TREE_H) pointer-set.h
|
||||
cp/call.o: cp/call.c $(CXX_TREE_H) $(TM_H) $(FLAGS_H) toplev.h \
|
||||
$(DIAGNOSTIC_CORE_H) intl.h gt-cp-call.h convert.h $(TARGET_H) langhooks.h \
|
||||
@ -331,7 +331,8 @@ cp/semantics.o: cp/semantics.c $(CXX_TREE_H) $(TM_H) toplev.h \
|
||||
cp/dump.o: cp/dump.c $(CXX_TREE_H) $(TM_H) $(TREE_DUMP_H)
|
||||
cp/optimize.o: cp/optimize.c $(CXX_TREE_H) $(TM_H) \
|
||||
input.h $(PARAMS_H) debug.h $(TREE_INLINE_H) $(GIMPLE_H) \
|
||||
$(TARGET_H) tree-iterator.h $(CGRAPH_H) $(DIAGNOSTIC_CORE_H)
|
||||
$(TARGET_H) tree-iterator.h $(CGRAPH_H) $(DIAGNOSTIC_CORE_H) \
|
||||
dumpfile.h
|
||||
cp/mangle.o: cp/mangle.c $(CXX_TREE_H) $(TM_H) $(REAL_H) \
|
||||
gt-cp-mangle.h $(TARGET_H) $(TM_P_H) $(CGRAPH_H)
|
||||
cp/parser.o: cp/parser.c $(CXX_TREE_H) $(TM_H) $(DIAGNOSTIC_CORE_H) \
|
||||
|
@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "target.h"
|
||||
#include "convert.h"
|
||||
#include "cgraph.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "splay-tree.h"
|
||||
#include "pointer-set.h"
|
||||
|
||||
|
@ -45,7 +45,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cgraph.h"
|
||||
#include "tree-inline.h"
|
||||
#include "c-family/c-pragma.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "intl.h"
|
||||
#include "gimple.h"
|
||||
#include "pointer-set.h"
|
||||
|
@ -202,6 +202,15 @@ dump_op (dump_info_p di, tree t)
|
||||
}
|
||||
}
|
||||
|
||||
/* Dump information common to statements from STMT. */
|
||||
|
||||
static void
|
||||
dump_stmt (dump_info_p di, const_tree t)
|
||||
{
|
||||
if (EXPR_HAS_LOCATION (t))
|
||||
dump_int (di, "line", EXPR_LINENO (t));
|
||||
}
|
||||
|
||||
bool
|
||||
cp_dump_tree (void* dump_info, tree t)
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "flags.h"
|
||||
#include "langhooks.h"
|
||||
#include "diagnostic-core.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "gimple.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "cgraph.h"
|
||||
|
@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cselib.h"
|
||||
#include "intl.h"
|
||||
#include "obstack.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "hashtab.h"
|
||||
#include "df.h"
|
||||
|
@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "diagnostic-core.h"
|
||||
#include "toplev.h"
|
||||
#include "ggc.h"
|
||||
#include "timevar.h"
|
||||
#include "except.h"
|
||||
#include "target.h"
|
||||
#include "params.h"
|
||||
|
@ -37,7 +37,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "diagnostic-core.h"
|
||||
#include "ggc.h"
|
||||
#include "hashtab.h"
|
||||
#include "tree-pass.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cselib.h"
|
||||
#include "params.h"
|
||||
#include "alloc-pool.h"
|
||||
|
@ -23,8 +23,7 @@ See dbgcnt.def for usage information. */
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "diagnostic-core.h"
|
||||
#include "tm.h"
|
||||
#include "rtl.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
#include "dbgcnt.h"
|
||||
|
||||
|
@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "df.h"
|
||||
#include "cselib.h"
|
||||
#include "dce.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "dbgcnt.h"
|
||||
#include "tm_p.h"
|
||||
|
@ -391,7 +391,6 @@ are write-only operations.
|
||||
#include "basic-block.h"
|
||||
#include "sbitmap.h"
|
||||
#include "bitmap.h"
|
||||
#include "timevar.h"
|
||||
#include "df.h"
|
||||
#include "tree-pass.h"
|
||||
#include "params.h"
|
||||
|
@ -44,13 +44,12 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "except.h"
|
||||
#include "dce.h"
|
||||
#include "vecprim.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
/* Note that turning REG_DEAD_DEBUGGING on will cause
|
||||
gcc.c-torture/unsorted/dump-noaddr.c to fail because it prints
|
||||
addresses in the dumps. */
|
||||
#if 0
|
||||
#define REG_DEAD_DEBUGGING
|
||||
#endif
|
||||
#define REG_DEAD_DEBUGGING 0
|
||||
|
||||
#define DF_SPARSE_THRESHOLD 32
|
||||
|
||||
@ -2712,7 +2711,7 @@ df_note_alloc (bitmap all_blocks ATTRIBUTE_UNUSED)
|
||||
df_note->optional_p = true;
|
||||
}
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
/* This is only used if REG_DEAD_DEBUGGING is in effect. */
|
||||
static void
|
||||
df_print_note (const char *prefix, rtx insn, rtx note)
|
||||
{
|
||||
@ -2723,7 +2722,6 @@ df_print_note (const char *prefix, rtx insn, rtx note)
|
||||
fprintf (dump_file, "\n");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* After reg-stack, the x86 floating point stack regs are difficult to
|
||||
@ -2772,9 +2770,8 @@ df_kill_notes (rtx insn, bitmap live)
|
||||
else
|
||||
{
|
||||
rtx next = XEXP (link, 1);
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("deleting: ", insn, link);
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("deleting: ", insn, link);
|
||||
free_EXPR_LIST_node (link);
|
||||
*pprev = link = next;
|
||||
}
|
||||
@ -2791,9 +2788,8 @@ df_kill_notes (rtx insn, bitmap live)
|
||||
else
|
||||
{
|
||||
rtx next = XEXP (link, 1);
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("deleting: ", insn, link);
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("deleting: ", insn, link);
|
||||
free_EXPR_LIST_node (link);
|
||||
*pprev = link = next;
|
||||
}
|
||||
@ -2825,9 +2821,8 @@ df_kill_notes (rtx insn, bitmap live)
|
||||
if (deleted)
|
||||
{
|
||||
rtx next;
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("deleting: ", insn, link);
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("deleting: ", insn, link);
|
||||
next = XEXP (link, 1);
|
||||
free_EXPR_LIST_node (link);
|
||||
*pprev = link = next;
|
||||
@ -2900,11 +2895,9 @@ df_set_unused_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
{
|
||||
unsigned int r;
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
fprintf (dump_file, "mw_set_unused looking at mws[%d..%d]\n",
|
||||
mws->start_regno, mws->end_regno);
|
||||
#endif
|
||||
|
||||
if (df_whole_mw_reg_unused_p (mws, live, artificial_uses))
|
||||
{
|
||||
@ -2912,9 +2905,9 @@ df_set_unused_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
df_set_note (REG_UNUSED, insn, mws->mw_reg);
|
||||
dead_debug_insert_temp (debug, regno, insn, DEBUG_TEMP_AFTER_WITH_REG);
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("adding 1: ", insn, REG_NOTES (insn));
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("adding 1: ", insn, REG_NOTES (insn));
|
||||
|
||||
bitmap_set_bit (do_not_gen, regno);
|
||||
/* Only do this if the value is totally dead. */
|
||||
}
|
||||
@ -2926,9 +2919,8 @@ df_set_unused_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
{
|
||||
df_set_note (REG_UNUSED, insn, regno_reg_rtx[r]);
|
||||
dead_debug_insert_temp (debug, r, insn, DEBUG_TEMP_AFTER_WITH_REG);
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("adding 2: ", insn, REG_NOTES (insn));
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("adding 2: ", insn, REG_NOTES (insn));
|
||||
}
|
||||
bitmap_set_bit (do_not_gen, r);
|
||||
}
|
||||
@ -2978,8 +2970,7 @@ df_set_dead_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
|
||||
*added_notes_p = false;
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
{
|
||||
fprintf (dump_file, "mw_set_dead looking at mws[%d..%d]\n do_not_gen =",
|
||||
mws->start_regno, mws->end_regno);
|
||||
@ -2989,7 +2980,6 @@ df_set_dead_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
fprintf (dump_file, " artificial uses =");
|
||||
df_print_regset (dump_file, artificial_uses);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (df_whole_mw_reg_dead_p (mws, live, artificial_uses, do_not_gen))
|
||||
{
|
||||
@ -3000,9 +2990,8 @@ df_set_dead_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
}
|
||||
/* Add a dead note for the entire multi word register. */
|
||||
df_set_note (REG_DEAD, insn, mws->mw_reg);
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("adding 1: ", insn, REG_NOTES (insn));
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("adding 1: ", insn, REG_NOTES (insn));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -3017,9 +3006,8 @@ df_set_dead_notes_for_mw (rtx insn, struct df_mw_hardreg *mws,
|
||||
return;
|
||||
}
|
||||
df_set_note (REG_DEAD, insn, regno_reg_rtx[r]);
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("adding 2: ", insn, REG_NOTES (insn));
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("adding 2: ", insn, REG_NOTES (insn));
|
||||
}
|
||||
}
|
||||
return;
|
||||
@ -3036,13 +3024,11 @@ df_create_unused_note (rtx insn, df_ref def,
|
||||
{
|
||||
unsigned int dregno = DF_REF_REGNO (def);
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
{
|
||||
fprintf (dump_file, " regular looking at def ");
|
||||
df_ref_debug (def, dump_file);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!((DF_REF_FLAGS (def) & DF_REF_MW_HARDREG)
|
||||
|| bitmap_bit_p (live, dregno)
|
||||
@ -3053,9 +3039,8 @@ df_create_unused_note (rtx insn, df_ref def,
|
||||
? *DF_REF_REAL_LOC (def): DF_REF_REG (def);
|
||||
df_set_note (REG_UNUSED, insn, reg);
|
||||
dead_debug_insert_temp (debug, dregno, insn, DEBUG_TEMP_AFTER_WITH_REG);
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("adding 3: ", insn, REG_NOTES (insn));
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("adding 3: ", insn, REG_NOTES (insn));
|
||||
}
|
||||
|
||||
return;
|
||||
@ -3387,23 +3372,20 @@ df_note_bb_compute (unsigned int bb_index,
|
||||
bitmap_copy (live, df_get_live_out (bb));
|
||||
bitmap_clear (artificial_uses);
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
{
|
||||
fprintf (dump_file, "live at bottom ");
|
||||
df_print_regset (dump_file, live);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Process the artificial defs and uses at the bottom of the block
|
||||
to begin processing. */
|
||||
for (def_rec = df_get_artificial_defs (bb_index); *def_rec; def_rec++)
|
||||
{
|
||||
df_ref def = *def_rec;
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
fprintf (dump_file, "artificial def %d\n", DF_REF_REGNO (def));
|
||||
#endif
|
||||
|
||||
if ((DF_REF_FLAGS (def) & DF_REF_AT_TOP) == 0)
|
||||
bitmap_clear_bit (live, DF_REF_REGNO (def));
|
||||
@ -3423,13 +3405,11 @@ df_note_bb_compute (unsigned int bb_index,
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
{
|
||||
fprintf (dump_file, "live before artificials out ");
|
||||
df_print_regset (dump_file, live);
|
||||
}
|
||||
#endif
|
||||
|
||||
FOR_BB_INSNS_REVERSE (bb, insn)
|
||||
{
|
||||
@ -3448,13 +3428,12 @@ df_note_bb_compute (unsigned int bb_index,
|
||||
/* Process the defs. */
|
||||
if (CALL_P (insn))
|
||||
{
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
if (REG_DEAD_DEBUGGING && dump_file)
|
||||
{
|
||||
fprintf (dump_file, "processing call %d\n live =", INSN_UID (insn));
|
||||
df_print_regset (dump_file, live);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* We only care about real sets for calls. Clobbers cannot
|
||||
be depended on to really die. */
|
||||
mws_rec = DF_INSN_UID_MWS (uid);
|
||||
@ -3541,13 +3520,12 @@ df_note_bb_compute (unsigned int bb_index,
|
||||
df_ref use = *use_rec;
|
||||
unsigned int uregno = DF_REF_REGNO (use);
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file && !debug_insn)
|
||||
if (REG_DEAD_DEBUGGING && dump_file && !debug_insn)
|
||||
{
|
||||
fprintf (dump_file, " regular looking at use ");
|
||||
df_ref_debug (use, dump_file);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!bitmap_bit_p (live, uregno))
|
||||
{
|
||||
if (debug_insn)
|
||||
@ -3578,9 +3556,8 @@ df_note_bb_compute (unsigned int bb_index,
|
||||
? *DF_REF_REAL_LOC (use) : DF_REF_REG (use);
|
||||
df_set_note (REG_DEAD, insn, reg);
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
df_print_note ("adding 4: ", insn, REG_NOTES (insn));
|
||||
#endif
|
||||
if (REG_DEAD_DEBUGGING)
|
||||
df_print_note ("adding 4: ", insn, REG_NOTES (insn));
|
||||
}
|
||||
/* This register is now live. */
|
||||
bitmap_set_bit (live, uregno);
|
||||
@ -3612,11 +3589,6 @@ df_note_compute (bitmap all_blocks)
|
||||
bitmap_initialize (&do_not_gen, &df_bitmap_obstack);
|
||||
bitmap_initialize (&artificial_uses, &df_bitmap_obstack);
|
||||
|
||||
#ifdef REG_DEAD_DEBUGGING
|
||||
if (dump_file)
|
||||
print_rtl_with_bb (dump_file, get_insns());
|
||||
#endif
|
||||
|
||||
EXECUTE_IF_SET_IN_BITMAP (all_blocks, 0, bb_index, bi)
|
||||
{
|
||||
df_note_bb_compute (bb_index, &live, &do_not_gen, &artificial_uses);
|
||||
|
@ -38,12 +38,11 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "basic-block.h"
|
||||
#include "sbitmap.h"
|
||||
#include "bitmap.h"
|
||||
#include "timevar.h"
|
||||
#include "dumpfile.h"
|
||||
#include "tree.h"
|
||||
#include "target.h"
|
||||
#include "target-def.h"
|
||||
#include "df.h"
|
||||
#include "tree-pass.h"
|
||||
#include "emit-rtl.h" /* FIXME: Can go away once crtl is moved to rtl.h. */
|
||||
|
||||
DEF_VEC_P(df_ref);
|
||||
@ -4478,7 +4477,6 @@ df_entry_block_bitmap_verify (bool abort_if_fail)
|
||||
|
||||
if (!is_eq && abort_if_fail)
|
||||
{
|
||||
print_current_pass (stderr);
|
||||
fprintf (stderr, "entry_block_defs = ");
|
||||
df_print_regset (stderr, &entry_block_defs);
|
||||
fprintf (stderr, "df->entry_block_defs = ");
|
||||
@ -4508,7 +4506,6 @@ df_exit_block_bitmap_verify (bool abort_if_fail)
|
||||
|
||||
if (!is_eq && abort_if_fail)
|
||||
{
|
||||
print_current_pass (stderr);
|
||||
fprintf (stderr, "exit_block_uses = ");
|
||||
df_print_regset (stderr, &exit_block_uses);
|
||||
fprintf (stderr, "df->exit_block_uses = ");
|
||||
|
13
gcc/dojump.c
13
gcc/dojump.c
@ -1083,15 +1083,10 @@ do_compare_rtx_and_jump (rtx op0, rtx op1, enum rtx_code code, int unsignedp,
|
||||
last = NEXT_INSN (last))
|
||||
if (JUMP_P (last))
|
||||
break;
|
||||
if (!last
|
||||
|| !JUMP_P (last)
|
||||
|| NEXT_INSN (last)
|
||||
|| !any_condjump_p (last))
|
||||
{
|
||||
if (dump_file)
|
||||
fprintf (dump_file, "Failed to add probability note\n");
|
||||
}
|
||||
else
|
||||
if (last
|
||||
&& JUMP_P (last)
|
||||
&& ! NEXT_INSN (last)
|
||||
&& any_condjump_p (last))
|
||||
{
|
||||
gcc_assert (!find_reg_note (last, REG_BR_PROB, 0));
|
||||
add_reg_note (last, REG_BR_PROB, GEN_INT (prob));
|
||||
|
@ -37,7 +37,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "flags.h"
|
||||
#include "df.h"
|
||||
#include "cselib.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "alloc-pool.h"
|
||||
#include "alias.h"
|
||||
|
117
gcc/dumpfile.h
Normal file
117
gcc/dumpfile.h
Normal file
@ -0,0 +1,117 @@
|
||||
/* Definitions for the shared dumpfile.
|
||||
Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||
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/>. */
|
||||
|
||||
|
||||
#ifndef GCC_DUMPFILE_H
|
||||
#define GCC_DUMPFILE_H 1
|
||||
|
||||
/* Different tree dump places. When you add new tree dump places,
|
||||
extend the DUMP_FILES array in tree-dump.c. */
|
||||
enum tree_dump_index
|
||||
{
|
||||
TDI_none, /* No dump */
|
||||
TDI_cgraph, /* dump function call graph. */
|
||||
TDI_tu, /* dump the whole translation unit. */
|
||||
TDI_class, /* dump class hierarchy. */
|
||||
TDI_original, /* dump each function before optimizing it */
|
||||
TDI_generic, /* dump each function after genericizing it */
|
||||
TDI_nested, /* dump each function after unnesting it */
|
||||
TDI_vcg, /* create a VCG graph file for each
|
||||
function's flowgraph. */
|
||||
TDI_ada, /* dump declarations in Ada syntax. */
|
||||
TDI_tree_all, /* enable all the GENERIC/GIMPLE dumps. */
|
||||
TDI_rtl_all, /* enable all the RTL dumps. */
|
||||
TDI_ipa_all, /* enable all the IPA dumps. */
|
||||
|
||||
TDI_end
|
||||
};
|
||||
|
||||
/* Bit masks to control dumping. Not all values are applicable to
|
||||
all dumps. Add new ones at the end. When you define new
|
||||
values, extend the DUMP_OPTIONS array in tree-dump.c */
|
||||
#define TDF_ADDRESS (1 << 0) /* dump node addresses */
|
||||
#define TDF_SLIM (1 << 1) /* don't go wild following links */
|
||||
#define TDF_RAW (1 << 2) /* don't unparse the function */
|
||||
#define TDF_DETAILS (1 << 3) /* show more detailed info about
|
||||
each pass */
|
||||
#define TDF_STATS (1 << 4) /* dump various statistics about
|
||||
each pass */
|
||||
#define TDF_BLOCKS (1 << 5) /* display basic block boundaries */
|
||||
#define TDF_VOPS (1 << 6) /* display virtual operands */
|
||||
#define TDF_LINENO (1 << 7) /* display statement line numbers */
|
||||
#define TDF_UID (1 << 8) /* display decl UIDs */
|
||||
|
||||
#define TDF_TREE (1 << 9) /* is a tree dump */
|
||||
#define TDF_RTL (1 << 10) /* is a RTL dump */
|
||||
#define TDF_IPA (1 << 11) /* is an IPA dump */
|
||||
#define TDF_STMTADDR (1 << 12) /* Address of stmt. */
|
||||
|
||||
#define TDF_GRAPH (1 << 13) /* a graph dump is being emitted */
|
||||
#define TDF_MEMSYMS (1 << 14) /* display memory symbols in expr.
|
||||
Implies TDF_VOPS. */
|
||||
|
||||
#define TDF_DIAGNOSTIC (1 << 15) /* A dump to be put in a diagnostic
|
||||
message. */
|
||||
#define TDF_VERBOSE (1 << 16) /* A dump that uses the full tree
|
||||
dumper to print stmts. */
|
||||
#define TDF_RHS_ONLY (1 << 17) /* a flag to only print the RHS of
|
||||
a gimple stmt. */
|
||||
#define TDF_ASMNAME (1 << 18) /* display asm names of decls */
|
||||
#define TDF_EH (1 << 19) /* display EH region number
|
||||
holding this gimple statement. */
|
||||
#define TDF_NOUID (1 << 20) /* omit UIDs from dumps. */
|
||||
#define TDF_ALIAS (1 << 21) /* display alias information */
|
||||
#define TDF_ENUMERATE_LOCALS (1 << 22) /* Enumerate locals by uid. */
|
||||
#define TDF_CSELIB (1 << 23) /* Dump cselib details. */
|
||||
#define TDF_SCEV (1 << 24) /* Dump SCEV details. */
|
||||
|
||||
|
||||
/* In tree-dump.c */
|
||||
|
||||
extern char *get_dump_file_name (int);
|
||||
extern int dump_enabled_p (int);
|
||||
extern int dump_initialized_p (int);
|
||||
extern FILE *dump_begin (int, int *);
|
||||
extern void dump_end (int, FILE *);
|
||||
extern void dump_node (const_tree, int, FILE *);
|
||||
extern int dump_switch_p (const char *);
|
||||
extern const char *dump_flag_name (int);
|
||||
|
||||
/* Global variables used to communicate with passes. */
|
||||
extern FILE *dump_file;
|
||||
extern int dump_flags;
|
||||
extern const char *dump_file_name;
|
||||
|
||||
/* Return the dump_file_info for the given phase. */
|
||||
extern struct dump_file_info *get_dump_file_info (int);
|
||||
|
||||
/* Define a tree dump switch. */
|
||||
struct dump_file_info
|
||||
{
|
||||
const char *suffix; /* suffix to give output file. */
|
||||
const char *swtch; /* command line switch */
|
||||
const char *glob; /* command line glob */
|
||||
int flags; /* user flags */
|
||||
int state; /* state of play */
|
||||
int num; /* dump file number */
|
||||
};
|
||||
|
||||
|
||||
#endif /* GCC_DUMPFILE_H */
|
@ -91,8 +91,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cgraph.h"
|
||||
#include "input.h"
|
||||
#include "gimple.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-flow.h"
|
||||
#include "dumpfile.h"
|
||||
#include "opts.h"
|
||||
|
||||
static void dwarf2out_source_line (unsigned int, const char *, int, bool);
|
||||
|
@ -56,7 +56,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "ggc.h"
|
||||
#include "debug.h"
|
||||
#include "langhooks.h"
|
||||
#include "tree-pass.h"
|
||||
#include "df.h"
|
||||
#include "params.h"
|
||||
#include "target.h"
|
||||
|
@ -141,7 +141,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "diagnostic.h"
|
||||
#include "tree-pretty-print.h"
|
||||
#include "tree-pass.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-flow.h"
|
||||
#include "cfgloop.h"
|
||||
|
||||
|
@ -45,7 +45,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "intl.h"
|
||||
#include "tm_p.h"
|
||||
#include "tree-iterator.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-flow.h"
|
||||
#include "target.h"
|
||||
#include "common/common-target.h"
|
||||
|
@ -74,7 +74,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "expr.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-flow.h"
|
||||
#include "timevar.h"
|
||||
#include "cgraph.h"
|
||||
#include "coverage.h"
|
||||
#include "df.h"
|
||||
|
@ -1,3 +1,8 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* f95-lang.c: Include dumpfile.h instead of tree-dump.h.
|
||||
* Make-lang.in: Fix dependencies.
|
||||
|
||||
2012-07-16 Janus Weil <janus@gcc.gnu.org>
|
||||
|
||||
PR fortran/53956
|
||||
|
@ -329,7 +329,7 @@ $(F95_PARSER_OBJS): fortran/gfortran.h fortran/libgfortran.h \
|
||||
fortran/intrinsic.h fortran/match.h fortran/constructor.h \
|
||||
fortran/parse.h fortran/arith.h fortran/target-memory.h \
|
||||
$(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TM_P_H) coretypes.h \
|
||||
$(RTL_H) $(TREE_H) $(TREE_DUMP_H) $(GGC_H) $(EXPR_H) \
|
||||
dumpfile.h $(TREE_H) dumpfile.h $(GGC_H) \
|
||||
$(FLAGS_H) $(DIAGNOSTIC_H) errors.h $(FUNCTION_H) \
|
||||
fortran/iso-c-binding.def fortran/iso-fortran-env.def
|
||||
fortran/openmp.o: pointer-set.h $(TARGET_H) toplev.h
|
||||
|
@ -42,7 +42,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "target.h"
|
||||
#include "debug.h"
|
||||
#include "diagnostic.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cgraph.h"
|
||||
#include "gfortran.h"
|
||||
#include "cpp.h"
|
||||
|
@ -61,7 +61,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree-pass.h"
|
||||
#include "predict.h"
|
||||
#include "df.h"
|
||||
#include "timevar.h"
|
||||
#include "vecprim.h"
|
||||
#include "params.h"
|
||||
#include "bb-reorder.h"
|
||||
|
@ -26,7 +26,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "diagnostic-core.h"
|
||||
|
||||
#include "sparseset.h"
|
||||
#include "timevar.h"
|
||||
#include "rtl.h"
|
||||
#include "tm_p.h"
|
||||
#include "insn-config.h"
|
||||
|
@ -158,7 +158,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cselib.h"
|
||||
#include "intl.h"
|
||||
#include "obstack.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "hashtab.h"
|
||||
#include "df.h"
|
||||
|
@ -25,9 +25,8 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree.h"
|
||||
#include "flags.h"
|
||||
#include "function.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-pass.h"
|
||||
#include "tree-ssa-propagate.h"
|
||||
#include "target.h"
|
||||
#include "gimple-fold.h"
|
||||
|
@ -26,11 +26,10 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tm.h"
|
||||
#include "tree.h"
|
||||
#include "diagnostic.h"
|
||||
#include "tree-pretty-print.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "hashtab.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-pass.h"
|
||||
#include "dumpfile.h" /* for dump_flags */
|
||||
#include "gimple.h"
|
||||
#include "value-prof.h"
|
||||
#include "trans-mem.h"
|
||||
@ -832,7 +831,7 @@ dump_gimple_cond (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_LABEL tuple on the pretty_printer BUFFER, SPC
|
||||
spaces of indent. FLAGS specifies details to show in the dump (see
|
||||
TDF_* in tree-pass.h). */
|
||||
TDF_* in dumpfils.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_label (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -853,7 +852,7 @@ dump_gimple_label (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_GOTO tuple on the pretty_printer BUFFER, SPC
|
||||
spaces of indent. FLAGS specifies details to show in the dump (see
|
||||
TDF_* in tree-pass.h). */
|
||||
TDF_* in dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_goto (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -868,7 +867,7 @@ dump_gimple_goto (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_BIND tuple on the pretty_printer BUFFER, SPC
|
||||
spaces of indent. FLAGS specifies details to show in the dump (see
|
||||
TDF_* in tree-pass.h). */
|
||||
TDF_* in dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_bind (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -901,7 +900,7 @@ dump_gimple_bind (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_TRY tuple on the pretty_printer BUFFER, SPC spaces of
|
||||
indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_try (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -957,7 +956,7 @@ dump_gimple_try (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_CATCH tuple on the pretty_printer BUFFER, SPC spaces of
|
||||
indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_catch (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -973,7 +972,7 @@ dump_gimple_catch (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_EH_FILTER tuple on the pretty_printer BUFFER, SPC spaces of
|
||||
indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_eh_filter (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -1006,7 +1005,7 @@ dump_gimple_eh_must_not_throw (pretty_printer *buffer, gimple gs,
|
||||
|
||||
/* Dump a GIMPLE_EH_ELSE tuple on the pretty_printer BUFFER, SPC spaces of
|
||||
indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_eh_else (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -1024,7 +1023,7 @@ dump_gimple_eh_else (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_RESX tuple on the pretty_printer BUFFER, SPC spaces of
|
||||
indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_resx (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -1051,7 +1050,7 @@ dump_gimple_eh_dispatch (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_DEBUG tuple on the pretty_printer BUFFER, SPC spaces
|
||||
of indent. FLAGS specifies details to show in the dump (see TDF_*
|
||||
in tree-pass.h). */
|
||||
in dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_debug (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -1426,7 +1425,7 @@ dump_gimple_transaction (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_ASM tuple on the pretty_printer BUFFER, SPC spaces of
|
||||
indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_asm (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
@ -1645,7 +1644,7 @@ dump_gimple_phi (pretty_printer *buffer, gimple phi, int spc, int flags)
|
||||
|
||||
/* Dump a GIMPLE_OMP_PARALLEL tuple on the pretty_printer BUFFER, SPC spaces
|
||||
of indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_omp_parallel (pretty_printer *buffer, gimple gs, int spc,
|
||||
@ -1699,7 +1698,7 @@ dump_gimple_omp_parallel (pretty_printer *buffer, gimple gs, int spc,
|
||||
|
||||
/* Dump a GIMPLE_OMP_TASK tuple on the pretty_printer BUFFER, SPC spaces
|
||||
of indent. FLAGS specifies details to show in the dump (see TDF_* in
|
||||
tree-pass.h). */
|
||||
dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_omp_task (pretty_printer *buffer, gimple gs, int spc,
|
||||
@ -1756,7 +1755,7 @@ dump_gimple_omp_task (pretty_printer *buffer, gimple gs, int spc,
|
||||
|
||||
/* Dump a GIMPLE_OMP_ATOMIC_LOAD tuple on the pretty_printer BUFFER, SPC
|
||||
spaces of indent. FLAGS specifies details to show in the dump (see TDF_*
|
||||
in tree-pass.h). */
|
||||
in dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_omp_atomic_load (pretty_printer *buffer, gimple gs, int spc,
|
||||
@ -1787,7 +1786,7 @@ dump_gimple_omp_atomic_load (pretty_printer *buffer, gimple gs, int spc,
|
||||
|
||||
/* Dump a GIMPLE_OMP_ATOMIC_STORE tuple on the pretty_printer BUFFER, SPC
|
||||
spaces of indent. FLAGS specifies details to show in the dump (see TDF_*
|
||||
in tree-pass.h). */
|
||||
in dumpfile.h). */
|
||||
|
||||
static void
|
||||
dump_gimple_omp_atomic_store (pretty_printer *buffer, gimple gs, int spc,
|
||||
@ -1844,7 +1843,7 @@ dump_gimple_mem_ops (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
||||
/* Dump the gimple statement GS on the pretty printer BUFFER, SPC
|
||||
spaces of indent. FLAGS specifies details to show in the dump (see
|
||||
TDF_* in tree-pass.h). */
|
||||
TDF_* in dumpfile.h). */
|
||||
|
||||
void
|
||||
dump_gimple_stmt (pretty_printer *buffer, gimple gs, int spc, int flags)
|
||||
|
@ -49,9 +49,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "gimple.h"
|
||||
#include "basic-block.h"
|
||||
#include "tree-pass.h"
|
||||
#include "timevar.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-pretty-print.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "tree-flow.h"
|
||||
#include "domwalk.h"
|
||||
|
@ -44,9 +44,9 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "splay-tree.h"
|
||||
#include "vec.h"
|
||||
#include "gimple.h"
|
||||
#include "tree-pass.h"
|
||||
|
||||
#include "langhooks-def.h" /* FIXME: for lhd_set_decl_assembler_name. */
|
||||
#include "langhooks-def.h" /* FIXME: for lhd_set_decl_assembler_name */
|
||||
#include "tree-pass.h" /* FIXME: only for PROP_gimple_any */
|
||||
|
||||
enum gimplify_omp_var_data
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
#include "tree-data-ref.h"
|
||||
|
@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "coretypes.h"
|
||||
#include "diagnostic-core.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
#include "tree-data-ref.h"
|
||||
|
@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
#include "tree-data-ref.h"
|
||||
|
@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
#include "tree-data-ref.h"
|
||||
|
@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
#include "tree-data-ref.h"
|
||||
|
@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "coretypes.h"
|
||||
#include "diagnostic-core.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
|
@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-dump.h"
|
||||
#include "dumpfile.h"
|
||||
#include "cfgloop.h"
|
||||
#include "tree-chrec.h"
|
||||
#include "tree-data-ref.h"
|
||||
|
@ -149,6 +149,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "ira.h"
|
||||
#include "emit-rtl.h" /* FIXME: Can go away once crtl is moved to rtl.h. */
|
||||
#include "hashtab.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
#ifdef INSN_SCHEDULING
|
||||
|
||||
|
@ -34,6 +34,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "recog.h"
|
||||
#include "target.h"
|
||||
#include "hw-doloop.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
#ifdef HAVE_doloop_end
|
||||
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "tm_p.h"
|
||||
#include "cfgloop.h"
|
||||
#include "target.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "df.h"
|
||||
#include "vec.h"
|
||||
|
@ -112,12 +112,9 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree-flow.h"
|
||||
#include "tree-pass.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "diagnostic.h"
|
||||
#include "tree-pretty-print.h"
|
||||
#include "tree-dump.h"
|
||||
#include "tree-inline.h"
|
||||
#include "fibheap.h"
|
||||
#include "params.h"
|
||||
#include "ipa-inline.h"
|
||||
#include "ipa-utils.h"
|
||||
|
@ -76,7 +76,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cgraph.h"
|
||||
#include "diagnostic.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "timevar.h"
|
||||
#include "params.h"
|
||||
#include "tree-pass.h"
|
||||
#include "coverage.h"
|
||||
|
@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree.h"
|
||||
#include "langhooks.h"
|
||||
#include "cgraph.h"
|
||||
#include "timevar.h"
|
||||
#include "intl.h"
|
||||
#include "coverage.h"
|
||||
#include "ggc.h"
|
||||
|
@ -101,7 +101,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "cgraph.h"
|
||||
#include "diagnostic.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "timevar.h"
|
||||
#include "params.h"
|
||||
#include "fibheap.h"
|
||||
#include "intl.h"
|
||||
|
@ -32,10 +32,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree-inline.h"
|
||||
#include "gimple.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "flags.h"
|
||||
#include "diagnostic.h"
|
||||
#include "tree-pretty-print.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "lto-streamer.h"
|
||||
#include "data-streamer.h"
|
||||
|
@ -47,7 +47,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "gimple.h"
|
||||
#include "cgraph.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "diagnostic.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "langhooks.h"
|
||||
|
@ -54,7 +54,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "gimple.h"
|
||||
#include "cgraph.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "diagnostic.h"
|
||||
#include "langhooks.h"
|
||||
#include "data-streamer.h"
|
||||
|
@ -85,11 +85,9 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree-flow.h"
|
||||
#include "tree-pass.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "diagnostic.h"
|
||||
#include "tree-dump.h"
|
||||
#include "tree-inline.h"
|
||||
#include "fibheap.h"
|
||||
#include "params.h"
|
||||
#include "gimple-pretty-print.h"
|
||||
#include "ipa-inline.h"
|
||||
|
@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tree.h"
|
||||
#include "tree-flow.h"
|
||||
#include "tree-inline.h"
|
||||
#include "tree-pass.h"
|
||||
#include "dumpfile.h"
|
||||
#include "langhooks.h"
|
||||
#include "pointer-set.h"
|
||||
#include "splay-tree.h"
|
||||
@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "gimple.h"
|
||||
#include "cgraph.h"
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
#include "diagnostic.h"
|
||||
#include "langhooks.h"
|
||||
|
||||
|
@ -24,7 +24,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "tm.h"
|
||||
#include "cgraph.h"
|
||||
#include "tree-pass.h"
|
||||
#include "timevar.h"
|
||||
#include "gimple.h"
|
||||
#include "ggc.h"
|
||||
#include "flags.h"
|
||||
|
@ -82,8 +82,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "expr.h"
|
||||
#include "recog.h"
|
||||
#include "params.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "reload.h"
|
||||
#include "df.h"
|
||||
#include "ira-int.h"
|
||||
|
@ -374,7 +374,6 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "expr.h"
|
||||
#include "recog.h"
|
||||
#include "params.h"
|
||||
#include "timevar.h"
|
||||
#include "tree-pass.h"
|
||||
#include "output.h"
|
||||
#include "except.h"
|
||||
|
@ -1,3 +1,8 @@
|
||||
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* java-gimplify.c Include dumpfile.h instead of tree-dump.h
|
||||
* Make-lang.in: Fix dependencies.
|
||||
|
||||
2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
* java-tree.h (force_evaluation_order): Remove prototype.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user