OSDN Git Service

2009-01-13 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2009 15:33:13 +0000 (15:33 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2009 15:33:13 +0000 (15:33 +0000)
commit1ffa850c3f9195b55dfe5476f1500fec44f965f2
treeb4edb260862454775b1db407478fdc787b9edf19
parentde540910336818a2fc1db658d3bb16f0336fea19
2009-01-13  Sebastian Pop  <sebastian.pop@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143341 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/graphite.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr38786.c [new file with mode: 0644]