public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42221]  New: ICE from '-Os -fgraphite-identity'
@ 2009-11-29 17:23 b3timmons at speedymail dot org
  2009-11-29 17:25 ` [Bug c/42221] " b3timmons at speedymail dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: b3timmons at speedymail dot org @ 2009-11-29 17:23 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2254 bytes --]

gcc -v -B. -r -nostdlib -Wall -Wextra -Os -fgraphite-identity md4.i; echo EXIT:
$?
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --with-mpfr=/usr/local --with-gmp=/usr/local
--with-ppl=/usr/local --with-cloog=/usr/local --with-mpc=/usr/local
--with-libelf=/usr/local --enable-languages=c,c++ --enable-__cxa_atexit
--enable-targets=all
Thread model: posix
gcc version 4.5.0 20091129 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-B.' '-r' '-nostdlib' '-Wall' '-Wextra' '-Os'
'-fgraphite-identity' '-mtune=generic'
 /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -fpreprocessed md4.i
-quiet -dumpbase md4.i -mtune=generic -auxbase md4 -Os -Wall -Wextra -version
-fgraphite-identity -o /tmp/ccR7BjWO.s
GNU C (GCC) version 4.5.0 20091129 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20091129 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 20091129 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20091129 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 89b3c82a0e7a4c9be3065ee229d764cd
md4.c: In function ‘md4step’:
md4.c:106:13: error: incorrect sharing of tree nodes
var.35_1139 = &X[D.3485_1099];

&X[D.3485_1099]
md4.c:106:13: error: incorrect sharing of tree nodes
wp_437 = &X[D.3485_1099];

&X[D.3485_1099]
md4.c:106:13: internal compiler error: verify_stmts failed


-- 
           Summary: ICE from '-Os -fgraphite-identity'
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: b3timmons at speedymail dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c/42221] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
@ 2009-11-29 17:25 ` b3timmons at speedymail dot org
  2009-11-29 18:23 ` [Bug tree-optimization/42221] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: b3timmons at speedymail dot org @ 2009-11-29 17:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from b3timmons at speedymail dot org  2009-11-29 17:25 -------
Created an attachment (id=19177)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19177&action=view)
preprocessed source triggering failure


-- 


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
  2009-11-29 17:25 ` [Bug c/42221] " b3timmons at speedymail dot org
@ 2009-11-29 18:23 ` rguenth at gcc dot gnu dot org
  2009-12-15 21:28 ` spop at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-29 18:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org
          Component|c                           |tree-optimization
           Keywords|                            |wrong-code
           Priority|P3                          |P2
            Summary|ICE from '-Os -fgraphite-   |[4.5 Regression] ICE from '-
                   |identity'                   |Os -fgraphite-identity'
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
  2009-11-29 17:25 ` [Bug c/42221] " b3timmons at speedymail dot org
  2009-11-29 18:23 ` [Bug tree-optimization/42221] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-12-15 21:28 ` spop at gcc dot gnu dot org
  2009-12-15 21:41 ` spop at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-15 21:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from spop at gcc dot gnu dot org  2009-12-15 21:28 -------
Mine.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-15 21:28:23
               date|                            |


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (2 preceding siblings ...)
  2009-12-15 21:28 ` spop at gcc dot gnu dot org
@ 2009-12-15 21:41 ` spop at gcc dot gnu dot org
  2009-12-18  5:31 ` spop at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-15 21:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from spop at gcc dot gnu dot org  2009-12-15 21:41 -------
Reduced testcase as follows:


static void b2w(unsigned int *out, const unsigned char *in, unsigned int len)
{
  const unsigned char *bpend = in + len;
  for (; in != bpend; in += 4, ++out)
  {
    *out = (unsigned int) (in[0] ) |
          (unsigned int) (in[3] << 24);
  }
}
static void md4step(unsigned int state[4], const unsigned char *data)
{
  unsigned int A, X[16];
  b2w(X, data, 64);
  state[0] += A;
}
void md4sum(void)
{
  unsigned char final[128];
  unsigned int state[4];
  md4step(state, final);
  md4step(state, final + 64);
}


-- 


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (3 preceding siblings ...)
  2009-12-15 21:41 ` spop at gcc dot gnu dot org
@ 2009-12-18  5:31 ` spop at gcc dot gnu dot org
  2009-12-18  5:33 ` spop at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18  5:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-12-18 05:31 -------
Subject: Bug 42221

Author: spop
Date: Fri Dec 18 05:30:56 2009
New Revision: 155333

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155333
Log:
Fix PR42221.

2009-12-17  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42221
        * sese.c (expand_scalar_variables_expr): Follow the SSA links into
        the array indexing of ADDR_EXPRs.

        * testsuite/gcc.dg/graphite/pr42221.c: New.

Added:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42221.c
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/graphite-clast-to-gimple.c
    branches/graphite/gcc/sese.c


-- 


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (4 preceding siblings ...)
  2009-12-18  5:31 ` spop at gcc dot gnu dot org
@ 2009-12-18  5:33 ` spop at gcc dot gnu dot org
  2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-18  5:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from spop at gcc dot gnu dot org  2009-12-18 05:33 -------
Fixed in the Graphite branch.  I will commit this to trunk once it passes usual
Graphite branch tests.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (5 preceding siblings ...)
  2009-12-18  5:33 ` spop at gcc dot gnu dot org
@ 2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
  2009-12-23  6:04 ` spop at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-18 12:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-12-18 12:41 -------
Re-open.  Still a 4.5 regression (please close bugs only when they are fixed
where reported).


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (6 preceding siblings ...)
  2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
@ 2009-12-23  6:04 ` spop at gcc dot gnu dot org
  2009-12-23  7:05 ` spop at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-23  6:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from spop at gcc dot gnu dot org  2009-12-23 06:04 -------
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155333

broke bootstrap on the Graphite branch.  I will revert this and rework on the
patch for fixing this PR.

Sebastian


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED
   Last reconfirmed|2009-12-15 21:28:23         |2009-12-23 06:04:14
               date|                            |


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (7 preceding siblings ...)
  2009-12-23  6:04 ` spop at gcc dot gnu dot org
@ 2009-12-23  7:05 ` spop at gcc dot gnu dot org
  2010-01-08  7:56 ` spop at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-23  7:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from spop at gcc dot gnu dot org  2009-12-23 07:04 -------
Subject: Bug 42221

Author: spop
Date: Wed Dec 23 07:04:32 2009
New Revision: 155416

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155416
Log:
Revert patch for PR42221.

2009-12-18  Sebastian Pop  <sebastian.pop@amd.com>

        Revert patch fixing PR middle-end/42221.

Removed:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42221.c
Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/graphite-clast-to-gimple.c
    branches/graphite/gcc/sese.c


-- 


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (8 preceding siblings ...)
  2009-12-23  7:05 ` spop at gcc dot gnu dot org
@ 2010-01-08  7:56 ` spop at gcc dot gnu dot org
  2010-01-08  8:04 ` spop at gcc dot gnu dot org
  2010-01-08  8:05 ` spop at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-01-08  7:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from spop at gcc dot gnu dot org  2010-01-08 07:56 -------
Subject: Bug 42221

Author: spop
Date: Fri Jan  8 07:56:08 2010
New Revision: 155729

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155729
Log:
Fix PR42221.

2009-12-23  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42221
        * sese.c (expand_scalar_variables_expr): Follow the SSA links into
        the array indexing of ADDR_EXPRs.

        * testsuite/gcc.dg/graphite/pr42221.c: New.

Added:
    branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42221.c
Modified:
    branches/graphite/gcc/sese.c


-- 


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (9 preceding siblings ...)
  2010-01-08  7:56 ` spop at gcc dot gnu dot org
@ 2010-01-08  8:04 ` spop at gcc dot gnu dot org
  2010-01-08  8:05 ` spop at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-01-08  8:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from spop at gcc dot gnu dot org  2010-01-08 08:04 -------
Subject: Bug 42221

Author: spop
Date: Fri Jan  8 08:04:35 2010
New Revision: 155731

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155731
Log:
Fix PR42221.

2009-12-23  Sebastian Pop  <sebastian.pop@amd.com>

        PR middle-end/42221
        * sese.c (expand_scalar_variables_expr): Follow the SSA links into
        the array indexing of ADDR_EXPRs.

        * testsuite/gcc.dg/graphite/pr42221.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr42221.c
Modified:
    trunk/gcc/ChangeLog.graphite
    trunk/gcc/sese.c


-- 


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


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

* [Bug tree-optimization/42221] [4.5 Regression] ICE from '-Os -fgraphite-identity'
  2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
                   ` (10 preceding siblings ...)
  2010-01-08  8:04 ` spop at gcc dot gnu dot org
@ 2010-01-08  8:05 ` spop at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-01-08  8:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from spop at gcc dot gnu dot org  2010-01-08 08:05 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|42393                       |
              nThis|                            |
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-01-08  8:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-29 17:23 [Bug c/42221] New: ICE from '-Os -fgraphite-identity' b3timmons at speedymail dot org
2009-11-29 17:25 ` [Bug c/42221] " b3timmons at speedymail dot org
2009-11-29 18:23 ` [Bug tree-optimization/42221] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-12-15 21:28 ` spop at gcc dot gnu dot org
2009-12-15 21:41 ` spop at gcc dot gnu dot org
2009-12-18  5:31 ` spop at gcc dot gnu dot org
2009-12-18  5:33 ` spop at gcc dot gnu dot org
2009-12-18 12:41 ` rguenth at gcc dot gnu dot org
2009-12-23  6:04 ` spop at gcc dot gnu dot org
2009-12-23  7:05 ` spop at gcc dot gnu dot org
2010-01-08  7:56 ` spop at gcc dot gnu dot org
2010-01-08  8:04 ` spop at gcc dot gnu dot org
2010-01-08  8:05 ` spop at gcc dot gnu dot 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).