diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-01-14 08:37:26 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-01-14 08:37:26 +0000 |
commit | 3c7c0158052509c4d4a0a7983c7ebf821551443c (patch) | |
tree | 1517ca48e72c65b525def1df518d9d44a6853228 /gcc/fold-const.c | |
parent | cd481d83ed240ebbdb706c3e3f3358f46662d4b8 (diff) | |
download | gcc-3c7c0158052509c4d4a0a7983c7ebf821551443c.zip gcc-3c7c0158052509c4d4a0a7983c7ebf821551443c.tar.gz gcc-3c7c0158052509c4d4a0a7983c7ebf821551443c.tar.bz2 |
re PR tree-optimization/42681 (ICE: in build2_stat, at tree.c:3664 with "-O1 -fgraphite-identity")
Fix PR42681.
2010-01-14 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42681
* graphite-clast-to-gimple.c (gloog_error): New static variable.
(clast_to_gcc_expression): Do not build MULT_EXPR of POINTER_TYPE_P.
Set gloog_error when such an expression failed to be built.
(translate_clast): Early return when gloog_error is set.
(gloog): Clear gloog_error. When gloog_error is set, call
set_ifsese_condition to enable the original code. Return the status
of the code generation based on gloog_error.
* sese.c (set_ifsese_condition): New.
* sese.h (set_ifsese_condition): Declared.
* testsuite/g++.dg/graphite/pr42681.C: New.
From-SVN: r155884
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions