------- Comment #4 from spop at gcc dot gnu dot org 2009-01-13 15:33 ------- Subject: Bug 38786
Author: spop Date: Tue Jan 13 15:33:13 2009 New Revision: 143341 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143341 Log: 2009-01-13 Sebastian Pop <sebastian....@amd.com> PR tree-optimization/38786 * gcc.dg/graphite/pr38786.c: New. * graphite.c (expand_scalar_variables_ssa_name): New, outlined from the SSA_NAME case of expand_scalar_variables_expr. Set the type of an expression to the type of its assign statement. (expand_scalar_variables_expr): Also gather the scalar computation used to index the memory access. Do not pass loop_p. Fix comment. Stop recursion on tcc_constant or tcc_declaration. (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr the gimple_stmt_iterator where it inserts new code. Do not pass loop_p. (copy_bb_and_scalar_dependences): Do not pass loop_p. (translate_clast): Update call to copy_bb_and_scalar_dependences. Added: trunk/gcc/testsuite/gcc.dg/graphite/pr38786.c Modified: trunk/gcc/ChangeLog trunk/gcc/graphite.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38786