[Bug tree-optimization/66642] transform_to_exit_first_loop_alt doesn't use result of low iteration count loop
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 30 09:58:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66642
--- Comment #5 from vries at gcc dot gnu.org ---
Author: vries
Date: Tue Jun 30 09:57:40 2015
New Revision: 225167
URL: https://gcc.gnu.org/viewcvs?rev=225167&root=gcc&view=rev
Log:
Add empty loop exit block in transform_to_exit_first_loop_alt
2015-06-30 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/66642
* tree-parloops.c (transform_to_exit_first_loop_alt): Update function
header comment. Rename split_edge variable to edge_at_split. Split
exit edge to create new loop exit bb. Insert loop exit phis in new
loop
exit bb.
* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Test low
iteration count case.
* testsuite/libgomp.c/parloops-exit-first-loop-alt.c (init): New
function, factor out of ...
(main): ... here. Test low iteration count case.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/tree-parloops.c
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt.c
More information about the Gcc-bugs
mailing list