[Bug tree-optimization/46886] [4.5/4.6 Regression] wrong code with -ftree-parallelize-loops -fno-tree-ch
razya at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 22 10:36:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46886
--- Comment #14 from razya at gcc dot gnu.org 2012-04-22 10:36:18 UTC ---
Author: razya
Date: Sun Apr 22 10:36:13 2012
New Revision: 186667
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186667
Log:
2012-04-20 Razya Ladelsky <razya@il.ibm.com>
Correcting transform_to_exit_first_loop + fix to
PR tree-optimization/46886
* tree-parloops.c (transform_to_exit_first_loop):
* Remove setting of number of iterations according to
* the loop pattern.
Duplicate from entry to exit->src instead of
loop->latch.
(pallelize_loops): Remove the condition preventing
do-while loops.
* tree-cfg.c (bool bb_in_region_p): New.
(gimple_duplicate_sese_tail): Adjust duplication of the
the subloops.
Adjust redirection of the duplicated iteration.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-cfg.c
trunk/gcc/tree-parloops.c
More information about the Gcc-bugs
mailing list