re PR debug/67043 (-fcompare-debug failure with -O3)
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 4 Aug 2015 02:11:58 +0000 (02:11 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 4 Aug 2015 02:11:58 +0000 (02:11 +0000)
commit43d56ad78ddc903e61abeaa2efaff2efa2de941d
tree4665f4d18b1ff681b729f8e6332f6317ef394f2d
parent9ebddeb045135d827eb59bfa822a0b026ea39f04
re PR debug/67043 (-fcompare-debug failure with -O3)

2015-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR tree-optimization/67043
    * loop-invariant.c (move_invariant_reg): Recompute luids in loop
    preheader after hoisting invariant in it.
    (find_defs): Force recomputation of all luids.

    gcc/testsuite/
    PR tree-optimization/67043
    * gcc.dg/pr67043.c: New test.

From-SVN: r226540
gcc/ChangeLog
gcc/loop-invariant.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr67043.c [new file with mode: 0644]