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/48805] ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity


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

--- Comment #4 from Sebastian Pop <spop at gcc dot gnu.org> 2011-07-26 18:47:51 UTC ---
Author: spop
Date: Tue Jul 26 18:47:44 2011
New Revision: 176801

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176801
Log:
Fix PR48805: Do not instantiate ADDR_EXPRs

With this patch we avoid instantiating ADDR_EXPR: it makes no sense
to translate &b[i] into &b[{0, +, 1}_1].

Bootstrapped and tested on amd64-linux.

2011-07-26  Sebastian Pop  <sebastian.pop@amd.com>

    PR middle-end/48805
    * tree-scalar-evolution.c (instantiate_scev_r): Return
    chrec_dont_know for ADDR_EXPR.

    * gcc.dg/graphite/id-pr48805.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/id-pr48805.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-scalar-evolution.c


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