This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/42681] [4.5 Regression] ICE: in build2_stat, at tree.c:3664 with "-O1 -fgraphite-identity"



------- Comment #6 from spop at gcc dot gnu dot org  2010-01-14 08:37 -------
Subject: Bug 42681

Author: spop
Date: Thu Jan 14 08:37:26 2010
New Revision: 155884

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155884
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:
    trunk/gcc/testsuite/g++.dg/graphite/pr42681.C
Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/graphite-clast-to-gimple.c
    trunk/gcc/sese.c
    trunk/gcc/sese.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42681


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]