diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-16 07:40:17 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-16 07:40:17 +0000 |
commit | e8403abd0aa13b7b792d6ebe295b3d68406839ca (patch) | |
tree | 294d42cd653258589e7430d222ec1ea371b75126 /gcc/auto-inc-dec.c | |
parent | 1153fb2a77df8434cefcb090a0e8df7236bf82d6 (diff) | |
download | gcc-e8403abd0aa13b7b792d6ebe295b3d68406839ca.tar.gz |
gcc/
PR bootstrap/61516
* auto-inc-dec.c (merge_in_block): Fix location of insn_info
initialization. Replace remaining use of uid.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211694 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/auto-inc-dec.c')
-rw-r--r-- | gcc/auto-inc-dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/auto-inc-dec.c b/gcc/auto-inc-dec.c index 64a370655f6..1007d724e4f 100644 --- a/gcc/auto-inc-dec.c +++ b/gcc/auto-inc-dec.c @@ -1341,7 +1341,6 @@ merge_in_block (int max_reg, basic_block bb) FOR_BB_INSNS_REVERSE_SAFE (bb, insn, curr) { - df_insn_info *insn_info = DF_INSN_INFO_GET (insn); bool insn_is_add_or_inc = true; if (!NONDEBUG_INSN_P (insn)) @@ -1417,7 +1416,7 @@ merge_in_block (int max_reg, basic_block bb) /* If the inc insn was merged with a mem, the inc insn is gone and there is noting to update. */ - if (insn_info) + if (df_insn_info *insn_info = DF_INSN_INFO_GET (insn)) { df_ref def, use; @@ -1439,7 +1438,8 @@ merge_in_block (int max_reg, basic_block bb) } } else if (dump_file) - fprintf (dump_file, "skipping update of deleted insn %d\n", uid); + fprintf (dump_file, "skipping update of deleted insn %d\n", + INSN_UID (insn)); } /* If we were successful, try again. There may have been several |