------- Comment #5 from spop at gcc dot gnu dot org 2010-01-14 08:15 ------- Subject: Bug 42681
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....@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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42681