re PR tree-optimization/87132 (Gcc miscompiles at -O2 on valid code)
authorRichard Biener <rguenther@suse.de>
Wed, 29 Aug 2018 14:13:20 +0000 (14:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 29 Aug 2018 14:13:20 +0000 (14:13 +0000)
commit8f70fdc31a7b0099e7322d0aba94830fb08f4c88
treee7315f43889f8f5e6b56945e5dc103fb839d79b8
parent6214d5c7e7470bdd5ecbeae668c2522551bfebbc
re PR tree-optimization/87132 (Gcc miscompiles at -O2 on valid code)

2018-08-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87132
* tree-ssa-alias.c (get_continuation_for_phi): Do not translate
when skipping defs reachable over backedges.

* gcc.dg/torture/pr87132.c: New testcase.

From-SVN: r263959
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr87132.c [new file with mode: 0644]
gcc/tree-ssa-alias.c