diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-08-31 06:31:06 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-08-31 06:31:06 +0000 |
commit | 9b76aa3b1b09b823ab4604a8a3abce76d447a5b9 (patch) | |
tree | 3c0d0e57e137b3e9e4e25f8744552044f78323de /gcc | |
parent | 992c944ca6f1b53ecb81a2577f999d980f140dc8 (diff) | |
download | gcc-9b76aa3b1b09b823ab4604a8a3abce76d447a5b9.zip gcc-9b76aa3b1b09b823ab4604a8a3abce76d447a5b9.tar.gz gcc-9b76aa3b1b09b823ab4604a8a3abce76d447a5b9.tar.bz2 |
revert: re PR rtl-optimization/16590 (Incorrect execution when compiling with -O2)
Revert:
2004-08-29 Mark Mitchell <mark@codesourcery.com>
PR rtl-optimization/16590
* gcse.c (pre_delete): Do not create invalid REG_EQUAL notes.
* g++.dg/opt/loop1.C: XFAIL.
From-SVN: r86820
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/gcse.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/opt/loop1.C | 2 |
4 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a4aa16..18a373d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-08-30 Mark Mitchell <mark@codesourcery.com> + + Revert: + 2004-08-29 Mark Mitchell <mark@codesourcery.com> + PR rtl-optimization/16590 + * gcse.c (pre_delete): Do not create invalid REG_EQUAL notes. + 2004-08-30 Andrew Pinski <apinski@apple.com> * hard-reg-set.h: @@ -4463,9 +4463,7 @@ pre_delete (void) expr->reaching_reg = gen_reg_rtx (GET_MODE (SET_DEST (set))); - emit_insn_after (gen_move_insn (SET_DEST (set), - expr->reaching_reg), - insn); + gcse_emit_move_after (expr->reaching_reg, SET_DEST (set), insn); delete_insn (insn); occr->deleted_p = 1; SET_BIT (pre_redundant_insns, INSN_CUID (insn)); diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f3dde94..8e6d1be 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-30 Mark Mitchell <mark@codesourcery.com> + + * g++.dg/opt/loop1.C: XFAIL. + 2004-08-30 Geoffrey Keating <geoffk@apple.com> * gcc.dg/funcdef-storage-1.c: New. diff --git a/gcc/testsuite/g++.dg/opt/loop1.C b/gcc/testsuite/g++.dg/opt/loop1.C index ad0308e..a90e7a6 100644 --- a/gcc/testsuite/g++.dg/opt/loop1.C +++ b/gcc/testsuite/g++.dg/opt/loop1.C @@ -1,5 +1,5 @@ // PR rtl-optimization/16590 -// { dg-do run } +// { dg-do run { xfail *-*-* } } // { dg-options "-O2" } extern "C" void abort(); |