diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-14 08:37:26 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-14 08:37:26 +0000 |
commit | 2487de1988f609a467b116368108cf6976f3b027 (patch) | |
tree | 1517ca48e72c65b525def1df518d9d44a6853228 /gcc/sese.h | |
parent | ece0be9d7429bfda35316296c501acb4ba33747a (diff) | |
download | gcc-2487de1988f609a467b116368108cf6976f3b027.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155884 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sese.h')
-rw-r--r-- | gcc/sese.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/sese.h b/gcc/sese.h index 350ae48241e..a54854a7610 100644 --- a/gcc/sese.h +++ b/gcc/sese.h @@ -229,6 +229,7 @@ extern ifsese create_if_region_on_edge (edge, tree); extern ifsese move_sese_in_condition (sese); extern edge get_true_edge_from_guard_bb (basic_block); extern edge get_false_edge_from_guard_bb (basic_block); +extern void set_ifsese_condition (ifsese, tree); static inline edge if_region_entry (ifsese if_region) |