[Bug tree-optimization/46886] [4.5/4.6 Regression] wrong code with -ftree-parallelize-loops -fno-tree-ch
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 15 11:08:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46886
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-15 11:05:31 UTC ---
Author: rguenth
Date: Wed Feb 15 11:05:26 2012
New Revision: 184263
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184263
Log:
2012-02-15 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-02-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.
Added:
branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr46886.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/tree-flow.h
branches/gcc-4_6-branch/gcc/tree-parloops.c
branches/gcc-4_6-branch/gcc/tree-ssa-loop-ch.c
branches/gcc-4_6-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list