summaryrefslogtreecommitdiffstats
path: root/gcc/df-problems.c
diff options
context:
space:
mode:
authorrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-04 09:19:02 +0000
committerrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-04 09:19:02 +0000
commit2b74c150e7f74609e313b1be10302126ca9f5e33 (patch)
treeef41d3b028cb0bd843e780b6ff16b1f90786cd60 /gcc/df-problems.c
parent696243a6115e019684f7062e28b91ba3925e96c2 (diff)
downloadppe42-gcc-2b74c150e7f74609e313b1be10302126ca9f5e33.tar.gz
ppe42-gcc-2b74c150e7f74609e313b1be10302126ca9f5e33.zip
2006-05-04 Leehod Baruch <leehod@il.ibm.com>
* see.c: New file. * Makefile.in (OBJS-common): Add see.o. (see.o): Add dependencies. * common.opt (fsee): New flag for the see optimization was added. * opts.c (flag_see): Initialized. * passes.c (init_optimization_passes, pass_see): New pass. * rtl.h (see_main): Declaration as extern. * timevar.def (TV_SEE): New. * tree-pass.h (pass_see): Declaration as extern. * invoke.texi (-fsee): Document. * recog.c (validate_simplify_insn): New function. * recog.h (validate_simplify_insn): Declaration as extern. * df-problems.c (df_chain_dump): Check for NULL. 2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com> Daniel Berlin <dberlin@dberlin.org> * cfgrtl.c (insert_insn_bb_end_new): New function. * basic-block.h (insert_insn_bb_end_new): Declaration as extern. 2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il> * df.h (struct web_entry): Moved from web.c. (union_defs): Declaration as extern. (unionfind_root): Likewise. (unionfind_union): Likewise. * web.c (struct web_entry): Moved to df.h. (unionfind_root): Remove static declaration. (unionfind_union): Likewise. (union_defs): Likewise and generalize to use callback function. (web_main): Update arguments for union_defs function call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r--gcc/df-problems.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/df-problems.c b/gcc/df-problems.c
index 8dd3446acc9..4f5f2e12658 100644
--- a/gcc/df-problems.c
+++ b/gcc/df-problems.c
@@ -2992,7 +2992,9 @@ df_chains_dump (struct dataflow *dflow, FILE *file)
{
fprintf (file, "d%d bb %d luid %d insn %d reg %d ",
j, DF_REF_BBNO (def),
- DF_INSN_LUID (df, DF_REF_INSN (def)),
+ DF_REF_INSN (def) ?
+ DF_INSN_LUID (df, DF_REF_INSN (def)):
+ -1,
DF_REF_INSN (def) ? DF_REF_INSN_UID (def) : -1,
DF_REF_REGNO (def));
if (def->flags & DF_REF_READ_WRITE)
OpenPOWER on IntegriCloud