r155883 - in /branches/graphite/gcc: ChangeLog....
spop@gcc.gnu.org
spop@gcc.gnu.org
Thu Jan 14 08:15:00 GMT 2010
Author: spop
Date: Thu Jan 14 08:15:09 2010
New Revision: 155883
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155883
Log:
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.
Added:
branches/graphite/gcc/testsuite/g++.dg/graphite/pr42681.C
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-clast-to-gimple.c
branches/graphite/gcc/sese.c
branches/graphite/gcc/sese.h
More information about the Gcc-cvs
mailing list