re PR tree-optimization/79622 (Wrong code w/ -O2 -floop-nest-optimize)
authorRichard Biener <rguenther@suse.de>
Mon, 18 Sep 2017 07:34:04 +0000 (07:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Sep 2017 07:34:04 +0000 (07:34 +0000)
commit3d07d963f6eb6fce457e0414bef4ad428dfb7788
treeb68415e1f98470f580cf4453622870ee2dfd3c65
parente75a0b311c372629f2bbaebae6e054ba7ca0a0e3
re PR tree-optimization/79622 (Wrong code w/ -O2 -floop-nest-optimize)

2017-09-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79622
* graphite-scop-detection.c (build_cross_bb_scalars_def): Properly
handle PHIs.
(build_cross_bb_scalars_use): Likewise.

* gcc.dg/graphite/pr79622.c: New testcase.

From-SVN: r252905
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr79622.c [new file with mode: 0644]