public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41888]  New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
@ 2009-10-31  5:38 b3timmons at speedymail dot org
  2009-10-31  5:39 ` [Bug c/41888] " b3timmons at speedymail dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: b3timmons at speedymail dot org @ 2009-10-31  5:38 UTC (permalink / raw)
  To: gcc-bugs

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

gcc -B. -r -nostdlib edid.i -v -Wall -Wextra -O -ftree-loop-distribution
-fgraphite-identity -g
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: /home/b3po/build/gcc/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 20091028 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-B.' '-r' '-nostdlib' '-v' '-Wall' '-Wextra' '-O'
'-ftree-loop-distribution' '-fgraphite-identity' '-g' '-mtune=generic'
 /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/cc1 -fpreprocessed
edid.i -quiet -dumpbase edid.i -mtune=generic -auxbase edid -g -O -Wall -Wextra
-version -ftree-loop-distribution -fgraphite-identity -o /tmp/ccioPiLW.s
GNU C (GCC) version 4.5.0 20091028 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20091028 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.7
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 20091028 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.5.0 20091028 (experimental), GMP version
4.3.1, MPFR version 2.4.1, MPC version 0.7
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: c30658ecf2032071e4fe041bf17f02de
edid.c: In function ‘GetEDID_DDC1’:
edid.c:25:1: internal compiler error: in check_loop_closed_ssa_use, at
tree-ssa-loop-manip.c:424


-- 
           Summary: ICE from '-O -ftree-loop-distribution -fgraphite-
                    identity -g'
           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=41888


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

* [Bug c/41888] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
@ 2009-10-31  5:39 ` b3timmons at speedymail dot org
  2009-10-31 11:32 ` [Bug tree-optimization/41888] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: b3timmons at speedymail dot org @ 2009-10-31  5:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from b3timmons at speedymail dot org  2009-10-31 05:39 -------
Created an attachment (id=18938)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18938&action=view)
gzipped preprocessed source triggering failure


-- 


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


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

* [Bug tree-optimization/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
  2009-10-31  5:39 ` [Bug c/41888] " b3timmons at speedymail dot org
@ 2009-10-31 11:32 ` rguenth at gcc dot gnu dot org
  2009-11-02 12:02 ` jakub at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-31 11:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-10-31 11:32 -------
Likewise.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org
          Component|c                           |tree-optimization
            Summary|ICE from '-O -ftree-loop-   |[4.5 Regression] ICE from '-
                   |distribution -fgraphite-    |O -ftree-loop-distribution -
                   |identity -g'                |fgraphite-identity -g'
   Target Milestone|---                         |4.5.0


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


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

* [Bug tree-optimization/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
  2009-10-31  5:39 ` [Bug c/41888] " b3timmons at speedymail dot org
  2009-10-31 11:32 ` [Bug tree-optimization/41888] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-11-02 12:02 ` jakub at gcc dot gnu dot org
  2009-11-02 16:53 ` spop at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-11-02 12:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-11-02 12:02 -------
Simplified testcase:
/* { dg-do compile } */
/* { dg-options "-g -O -ftree-loop-distribution -fgraphite-identity" } */

int
foo (int *x)
{
  int a[10], b[10];
  int i;
  a[9] = 8;
  b[9] = 8;
  for (i = 0; i < 9; i++)
    {
      a[i] = *x++;
      b[i] = 1;
    }
  b[i] = b[i] & !(a[i] ^ *x++);
  return b[i] ? i + 1 : 0;
}


-- 


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


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

* [Bug tree-optimization/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
                   ` (2 preceding siblings ...)
  2009-11-02 12:02 ` jakub at gcc dot gnu dot org
@ 2009-11-02 16:53 ` spop at gcc dot gnu dot org
  2009-11-05  6:41 ` aoliva at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-11-02 16:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2009-11-02 16:53 -------
This testcase does work on the Graphite branch 
where I did not merged changes from trunk from the time when 
VTA was merged to trunk.  See PR41401 as well.


-- 


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


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

* [Bug tree-optimization/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
                   ` (3 preceding siblings ...)
  2009-11-02 16:53 ` spop at gcc dot gnu dot org
@ 2009-11-05  6:41 ` aoliva at gcc dot gnu dot org
  2009-11-05 19:11 ` aoliva at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2009-11-05  6:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from aoliva at gcc dot gnu dot org  2009-11-05 06:41 -------
Thanks.  I was missing the libraries needed for graphite, so I hadn't ever
tested it :-(

My patches for bug 41926 (not posted yet) fixes the ICE, but we still fail
-fcompare-debug.  I'll work out where graphite code needs to be adjusted to
support VTA.


-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aoliva at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-05 06:41:30
               date|                            |


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


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

* [Bug tree-optimization/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
                   ` (4 preceding siblings ...)
  2009-11-05  6:41 ` aoliva at gcc dot gnu dot org
@ 2009-11-05 19:11 ` aoliva at gcc dot gnu dot org
  2009-11-09 13:04 ` [Bug debug/41888] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2009-11-05 19:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from aoliva at gcc dot gnu dot org  2009-11-05 19:11 -------
*** Bug 41887 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug debug/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
                   ` (5 preceding siblings ...)
  2009-11-05 19:11 ` aoliva at gcc dot gnu dot org
@ 2009-11-09 13:04 ` rguenth at gcc dot gnu dot org
  2009-11-18  6:03 ` aoliva at gcc dot gnu dot org
  2009-11-18  6:22 ` aoliva at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-09 13:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug debug/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
                   ` (6 preceding siblings ...)
  2009-11-09 13:04 ` [Bug debug/41888] " rguenth at gcc dot gnu dot org
@ 2009-11-18  6:03 ` aoliva at gcc dot gnu dot org
  2009-11-18  6:22 ` aoliva at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2009-11-18  6:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from aoliva at gcc dot gnu dot org  2009-11-18 06:02 -------
Subject: Bug 41888

Author: aoliva
Date: Wed Nov 18 06:02:26 2009
New Revision: 154279

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154279
Log:
PR debug/41888
PR debug/41886
* graphite-scop-detection.c (stmt_simple_for_scop_p): Debug stmts
are ok.
* graphite-sese-to-poly.c (graphite_stmt_p): Likewise.
(try_generate_gimple_bb): Skip debug stmts when finding data refs.
* sese.c (sese_build_liveouts_bb): Skip debug stmts.
(sese_bad_liveouts_use): New.
(sese_reset_debug_liveouts_bb): New.
(sese_build_liveouts): Use it.
(rename_variables_in_stmt): Reset debug stmts rather than creating
new vars for them.
(expand_scalar_variable_stmt): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/graphite-scop-detection.c
    trunk/gcc/graphite-sese-to-poly.c
    trunk/gcc/sese.c


-- 


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


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

* [Bug debug/41888] [4.5 Regression] ICE from '-O -ftree-loop-distribution -fgraphite-identity -g'
  2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
                   ` (7 preceding siblings ...)
  2009-11-18  6:03 ` aoliva at gcc dot gnu dot org
@ 2009-11-18  6:22 ` aoliva at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2009-11-18  6:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from aoliva at gcc dot gnu dot org  2009-11-18 06:22 -------
Fixed


-- 

aoliva at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-11-18  6:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-31  5:38 [Bug c/41888] New: ICE from '-O -ftree-loop-distribution -fgraphite-identity -g' b3timmons at speedymail dot org
2009-10-31  5:39 ` [Bug c/41888] " b3timmons at speedymail dot org
2009-10-31 11:32 ` [Bug tree-optimization/41888] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-11-02 12:02 ` jakub at gcc dot gnu dot org
2009-11-02 16:53 ` spop at gcc dot gnu dot org
2009-11-05  6:41 ` aoliva at gcc dot gnu dot org
2009-11-05 19:11 ` aoliva at gcc dot gnu dot org
2009-11-09 13:04 ` [Bug debug/41888] " rguenth at gcc dot gnu dot org
2009-11-18  6:03 ` aoliva at gcc dot gnu dot org
2009-11-18  6:22 ` aoliva 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).