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 <rguent...@suse.de> Backport from mainline 2012-02-08 Richard Guenther <rguent...@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