]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/38786 ([graphite] ICE with -floop-block in verify_ssa)
authorSebastian Pop <sebastian.pop@amd.com>
Tue, 13 Jan 2009 15:33:13 +0000 (15:33 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Tue, 13 Jan 2009 15:33:13 +0000 (15:33 +0000)
commitf93444883de1497f29370fd7f1ab5d828b9b08e9
treeb4edb260862454775b1db407478fdc787b9edf19
parent2d8bb84db9611d9064f202c9bb9a779b844c2bf0
re PR middle-end/38786 ([graphite] ICE with -floop-block in verify_ssa)

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.

From-SVN: r143341
gcc/ChangeLog
gcc/graphite.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr38786.c [new file with mode: 0644]