diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-06-16 07:40:17 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-06-16 07:40:17 +0000 |
commit | 737c262e89cacd476becd080f359568145bde9ff (patch) | |
tree | 294d42cd653258589e7430d222ec1ea371b75126 /gcc | |
parent | 590db899b111a413351de99ef477d4b15910af87 (diff) | |
download | gcc-737c262e89cacd476becd080f359568145bde9ff.zip gcc-737c262e89cacd476becd080f359568145bde9ff.tar.gz gcc-737c262e89cacd476becd080f359568145bde9ff.tar.bz2 |
re PR regression/61516 (build fails on auto-inc-dec.c or libgcc2.c with obvious patch)
gcc/
PR bootstrap/61516
* auto-inc-dec.c (merge_in_block): Fix location of insn_info
initialization. Replace remaining use of uid.
From-SVN: r211694
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/auto-inc-dec.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1917c28..756ed9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-06-16 Richard Sandiford <rdsandiford@googlemail.com> + + PR bootstrap/61516 + * auto-inc-dec.c (merge_in_block): Fix location of insn_info + initialization. Replace remaining use of uid. + 2014-06-15 Jan Hubicka <hubicka@ucw.cz> * c-family/c-common.c (handle_tls_model_attribute): Use set_decl_tls_model. diff --git a/gcc/auto-inc-dec.c b/gcc/auto-inc-dec.c index 64a3706..1007d72 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 |