]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/46886 (wrong code with -ftree-parallelize-loops -fno-tree-ch)
authorRichard Guenther <rguenther@suse.de>
Wed, 8 Feb 2012 15:28:01 +0000 (15:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 8 Feb 2012 15:28:01 +0000 (15:28 +0000)
commit31432e219f044eb7195b9f802db88ace3e7fe8a1
tree1efa0d6fbc6e7f4dd31d427ac6c423dc2e46bc4e
parentc51ec0a3d68c86ba9b2e2d0c61556fee8308d570
re PR tree-optimization/46886 (wrong code with -ftree-parallelize-loops -fno-tree-ch)

2012-03-08  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46886
* tree-flow.h (do_while_loop_p): Declare.
* tree-ssa-loop-ch.c (do_while_loop_p): Export.
* tree-parloops.c (parallelize_loops): Only parallelize do-while
loops.

* testsuite/libgomp.c/pr46886.c: New testcase.

From-SVN: r184010
gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-parloops.c
gcc/tree-ssa-loop-ch.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr46886.c [new file with mode: 0644]