re PR tree-optimization/86865 (Wrong code w/ -O2 -floop-parallelize-all -fstack-reuse...
authorRichard Biener <rguenther@suse.de>
Fri, 25 Jan 2019 08:13:34 +0000 (08:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Jan 2019 08:13:34 +0000 (08:13 +0000)
commit2ad04111c305ea6a20fc99323e0c479ba661c479
tree0895a3402a18d5b16e628c339b2743b3ae8640ed
parentbb58a17bebea1be9ab0d753c61826dab8b4077f9
re PR tree-optimization/86865 (Wrong code w/ -O2 -floop-parallelize-all -fstack-reuse=none -fwrapv -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-loop-ivcanon)

2019-01-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86865
* graphite-scop-detection.c (scop_detection::can_represent_loop):
Reject non-do-while loops.

* gcc.dg/graphite/pr86865.c: New testcase.
* gcc.dg/graphite/pr69728.c: XFAIL.
* gcc.dg/graphite/scop-21.c: Likewise.

From-SVN: r268257
gcc/ChangeLog
gcc/graphite-scop-detection.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr69728.c
gcc/testsuite/gcc.dg/graphite/pr86865.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/graphite/scop-21.c