[Bug tree-optimization/46099] [4.5/4.6 Regression] ICE: in replace_ssa_name, at tree-cfg.c:5643 with -ftree-parallelize-loops -g
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 5 11:16:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46099
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-05 11:15:32 UTC ---
Author: jakub
Date: Fri Nov 5 11:15:28 2010
New Revision: 166355
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166355
Log:
PR tree-optimization/46099
* tree-parloops.c (take_address_of): Add GSI argument. Return NULL
if it is NULL and uid wasn't found in the hash table. Just fold the
result if it is NULL otherwise. Insert other potentially needed
stmts right before current stmt instead of on the entry edge.
(struct elv_data): Add gsi and reset fields.
(eliminate_local_variables_1): Adjust caller. If take_address_of
failed for debug stmt, set dta->reset and return.
(eliminate_local_variables_stmt): Change STMT argument for GSI,
pass GSI through to the callback, handle resetting of debug stmts.
(eliminate_local_variables): Adjust caller. Process debug stmts
in second phase.
* gcc.dg/autopar/pr46099.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/autopar/pr46099.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-parloops.c
More information about the Gcc-bugs
mailing list