public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity
@ 2011-04-28 13:05 bero at arklinux dot org
  2011-04-28 13:58 ` [Bug tree-optimization/48805] " bero at arklinux dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bero at arklinux dot org @ 2011-04-28 13:05 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in rename_uses, at sese.c:533 while compiling
                    qutecom 2.2 with -fgraphite-identity
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bero@arklinux.org


Created attachment 24127
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24127
Preprocessed source

[bero@matterhorn amrwb.dir]$ gcc -O1 -fgraphite-identity -o dec_util.o
dec_util.i 
/usr/src/ark/BUILD/qutecom-2.2/wifo/phapi/amrwb/dec_util.c: In function
‘D_UTIL_dec_synthesis’:
/usr/src/ark/BUILD/qutecom-2.2/wifo/phapi/amrwb/dec_util.c:1121:6: internal
compiler error: in rename_uses, at sese.c:533
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/48805] ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity
  2011-04-28 13:05 [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity bero at arklinux dot org
@ 2011-04-28 13:58 ` bero at arklinux dot org
  2011-04-28 13:58 ` bero at arklinux dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bero at arklinux dot org @ 2011-04-28 13:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from bero at arklinux dot org 2011-04-28 13:56:59 UTC ---
gcc 4.6.1 svn rev. 173053
cloog 0.16.2
isl 0.06
ppl 0.11


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/48805] ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity
  2011-04-28 13:05 [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity bero at arklinux dot org
  2011-04-28 13:58 ` [Bug tree-optimization/48805] " bero at arklinux dot org
@ 2011-04-28 13:58 ` bero at arklinux dot org
  2011-07-23 14:45 ` spop at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bero at arklinux dot org @ 2011-04-28 13:58 UTC (permalink / raw)
  To: gcc-bugs

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

bero at arklinux dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24127|0                           |1
        is obsolete|                            |

--- Comment #1 from bero at arklinux dot org 2011-04-28 13:55:57 UTC ---
Created attachment 24128
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24128
Reduced test case

Reduced test case:


void *A(const void *a);
void C(void);

static void B(unsigned short a[])
{
        long i, j, tmp;

        for(i = 0; i < 3; i++) {
                for(j = 1; j <= 3; j++)
                        tmp -= a[i - j];

                a[i] = (unsigned short)(tmp >> 1);
        }
}
void C(void)
{
        unsigned short a[3], b[3];
        B(b + 1);
        A(a);
}


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/48805] ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity
  2011-04-28 13:05 [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity bero at arklinux dot org
  2011-04-28 13:58 ` [Bug tree-optimization/48805] " bero at arklinux dot org
  2011-04-28 13:58 ` bero at arklinux dot org
@ 2011-07-23 14:45 ` spop at gcc dot gnu.org
  2011-07-26 18:48 ` spop at gcc dot gnu.org
  2011-07-26 18:55 ` spop at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2011-07-23 14:45 UTC (permalink / raw)
  To: gcc-bugs

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

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.07.23 14:44:29
                 CC|                            |spop at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |spop at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> 2011-07-23 14:44:29 UTC ---
Patch
http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02047.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/48805] ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity
  2011-04-28 13:05 [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2011-07-23 14:45 ` spop at gcc dot gnu.org
@ 2011-07-26 18:48 ` spop at gcc dot gnu.org
  2011-07-26 18:55 ` spop at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2011-07-26 18:48 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/48805] ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity
  2011-04-28 13:05 [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity bero at arklinux dot org
                   ` (3 preceding siblings ...)
  2011-07-26 18:48 ` spop at gcc dot gnu.org
@ 2011-07-26 18:55 ` spop at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: spop at gcc dot gnu.org @ 2011-07-26 18:55 UTC (permalink / raw)
  To: gcc-bugs

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

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Sebastian Pop <spop at gcc dot gnu.org> 2011-07-26 18:54:46 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-26 18:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 13:05 [Bug tree-optimization/48805] New: ICE in rename_uses, at sese.c:533 while compiling qutecom 2.2 with -fgraphite-identity bero at arklinux dot org
2011-04-28 13:58 ` [Bug tree-optimization/48805] " bero at arklinux dot org
2011-04-28 13:58 ` bero at arklinux dot org
2011-07-23 14:45 ` spop at gcc dot gnu.org
2011-07-26 18:48 ` spop at gcc dot gnu.org
2011-07-26 18:55 ` spop at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).