public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37851]  New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
@ 2008-10-16 15:00 dwarak dot rajagopal at amd dot com
  2008-10-16 15:01 ` [Bug middle-end/37851] " dwarak dot rajagopal at amd dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dwarak dot rajagopal at amd dot com @ 2008-10-16 15:00 UTC (permalink / raw)
  To: gcc-bugs

gfortran -O2 -floop-block 939.f90 
939.f90: In function 'solvep':
939.f90:6: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3617
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

This was tested on the graphite branch. The reduced testcase from polyhedron
benchmark is attached.

- Dwarak


-- 
           Summary: [graphite] ICE in expand_scalar_variables_expr, at
                    graphite.c:3617
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dwarak dot rajagopal at amd dot com
 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=37851


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
@ 2008-10-16 15:01 ` dwarak dot rajagopal at amd dot com
  2008-10-22 20:07 ` grosser at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dwarak dot rajagopal at amd dot com @ 2008-10-16 15:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dwarak dot rajagopal at amd dot com  2008-10-16 15:00 -------
Created an attachment (id=16509)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16509&action=view)
Testcase


-- 


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
  2008-10-16 15:01 ` [Bug middle-end/37851] " dwarak dot rajagopal at amd dot com
@ 2008-10-22 20:07 ` grosser at gcc dot gnu dot org
  2008-10-23 20:11 ` grosser at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: grosser at gcc dot gnu dot org @ 2008-10-22 20:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from grosser at gcc dot gnu dot org  2008-10-22 20:05 -------
Polyhedron also fails with this bug in, if you use -fgraphite-identity in the
graphite branch.

bug.f90: In function 'sw':
bug.f90:6: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3618

capacita.f90: In function 'cgstab':
capacita.f90:12: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3618

channel.f90: In function 'sw':
channel.f90:6: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3618

gas_dyn.f90: In function 'keel':
gas_dyn.f90:435: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3618

rnflow.f90: In function 'rnflow':
rnflow.f90:4478: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3618


-- 

grosser at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Jan dot Sjodin at amd dot
                   |                            |com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-10-22 20:05:58
               date|                            |


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
  2008-10-16 15:01 ` [Bug middle-end/37851] " dwarak dot rajagopal at amd dot com
  2008-10-22 20:07 ` grosser at gcc dot gnu dot org
@ 2008-10-23 20:11 ` grosser at gcc dot gnu dot org
  2008-10-23 20:12 ` grosser at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: grosser at gcc dot gnu dot org @ 2008-10-23 20:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from grosser at gcc dot gnu dot org  2008-10-23 20:09 -------
It seems we do not have implemented all cases in expand_scalar_variables_expr()

Backtrace for "f951 -O2 -fgraphite-identity".

#1  0x081f3461 in fancy_abort (file=Could not find the frame base for
"fancy_abort".
) at ../../../git/gcc/diagnostic.c:712
#2  0x08a11e58 in expand_scalar_variables_expr (type=0x290a42d8,
op0=0x290d09b0, code=COMPONENT_REF, 
    op1=0x0, gbb=0x8e32fa0, scop=0x8e0df10, old_loop_father=0x29140160)
    at ../../../git/gcc/graphite.c:3617
#3  0x08a11e37 in expand_scalar_variables_expr (type=0x290a42d8,
op0=0x29131738, code=SSA_NAME, 
    op1=0x0, gbb=0x8e32fa0, scop=0x8e0df10, old_loop_father=0x29140160)
    at ../../../git/gcc/graphite.c:3612
#4  0x08a11ef4 in expand_scalar_variables_stmt (stmt=0x291283c0, gbb=0x8e32fa0,
scop=0x8e0df10, 
    old_loop_father=0x29140160) at ../../../git/gcc/graphite.c:3639
#5  0x08a12083 in expand_scalar_variables (gbb=0x8e32fa0, scop=0x8e0df10,
old_loop_father=0x29140160)
    at ../../../git/gcc/graphite.c:3666
#6  0x08a125bb in translate_clast (scop=0x8e0df10, context_loop=0x291331b8,
stmt=0x8ed2450, 
    next_e=0x29143938, ivstack=0xbfbfe8c0) at ../../../git/gcc/graphite.c:3791
#7  0x08a128bd in translate_clast (scop=0x8e0df10, context_loop=0x291331b8,
stmt=0x8e9c540, 
    next_e=0x29135d70, ivstack=0xbfbfe8c0) at ../../../git/gcc/graphite.c:3843
#8  0x08a1253d in translate_clast (scop=0x8e0df10, context_loop=0x291331b8,
stmt=0x8eb1ff0, 
    next_e=0x29135d70, ivstack=0xbfbfe8c0) at ../../../git/gcc/graphite.c:3777
#9  0x08a147b2 in gloog (scop=0x8e0df10, stmt=0x8eb1ff0) at
../../../git/gcc/graphite.c:4366

Here we miss: COMPONENT_REF


-- 

grosser at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |grosser at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-10-22 20:05:58         |2008-10-23 20:09:51
               date|                            |


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
                   ` (2 preceding siblings ...)
  2008-10-23 20:11 ` grosser at gcc dot gnu dot org
@ 2008-10-23 20:12 ` grosser at gcc dot gnu dot org
  2008-11-07 15:19 ` howarth at nitro dot med dot uc dot edu
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: grosser at gcc dot gnu dot org @ 2008-10-23 20:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from grosser at gcc dot gnu dot org  2008-10-23 20:11 -------
Created an attachment (id=16534)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16534&action=view)
Testcase fails because of missing INDIRECT_REF

#0  internal_error (gmsgid=0x8ae0d27 "in %s, at %s:%d") at
../../../git/gcc/diagnostic.c:656
#1  0x081d0c01 in fancy_abort (file=Could not find the frame base for
"fancy_abort".
) at ../../../git/gcc/diagnostic.c:712
#2  0x089d98c8 in expand_scalar_variables_expr (type=0x290f4820,
op0=0x29073b20, code=INDIRECT_REF, op1=0x0, gbb=0x8d32400, scop=0x8d320a0,
old_loop_father=0x29106d68) at ../../../git/gcc/graphite.c:3617
#3  0x089d98a7 in expand_scalar_variables_expr (type=0x290f4820,
op0=0x29104348, code=SSA_NAME, op1=0x0, gbb=0x8d32400, scop=0x8d320a0,
old_loop_father=0x29106d68) at ../../../git/gcc/graphite.c:3612
#4  0x089d9964 in expand_scalar_variables_stmt (stmt=0x290f73c0, gbb=0x8d32400,
scop=0x8d320a0, old_loop_father=0x29106d68) at ../../../git/gcc/graphite.c:3639
#5  0x089d9af3 in expand_scalar_variables (gbb=0x8d32400, scop=0x8d320a0,
old_loop_father=0x29106d68) at ../../../git/gcc/graphite.c:3666
#6  0x089da02b in translate_clast (scop=0x8d320a0, context_loop=0x29106f20,
stmt=0x8d8cd10, next_e=0x2910d050, ivstack=0xbfbfe880) at
../../../git/gcc/graphite.c:3791
#7  0x089da24b in translate_clast (scop=0x8d320a0, context_loop=0x29106d10,
stmt=0x8d33d00, next_e=0x290c2ac8, ivstack=0xbfbfe880) at
../../../git/gcc/graphite.c:3827
#8  0x089d9fad in translate_clast (scop=0x8d320a0, context_loop=0x29106d10,
stmt=0x8d8c5d0, next_e=0x290c2ac8, ivstack=0xbfbfe880) at
../../../git/gcc/graphite.c:3777
#9  0x089dc222 in gloog (scop=0x8d320a0, stmt=0x8d8c5d0) at
../../../git/gcc/graphite.c:4366


-- 


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
                   ` (3 preceding siblings ...)
  2008-10-23 20:12 ` grosser at gcc dot gnu dot org
@ 2008-11-07 15:19 ` howarth at nitro dot med dot uc dot edu
  2008-11-07 15:26 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-11-07 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from howarth at nitro dot med dot uc dot edu  2008-11-07 15:18 -------
*** Bug 38043 has been marked as a duplicate of this bug. ***


-- 

howarth at nitro dot med dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at nitro dot med dot
                   |                            |uc dot edu


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
                   ` (4 preceding siblings ...)
  2008-11-07 15:19 ` howarth at nitro dot med dot uc dot edu
@ 2008-11-07 15:26 ` howarth at nitro dot med dot uc dot edu
  2008-11-27 17:13 ` grosser at gcc dot gnu dot org
  2008-12-03 20:55 ` spop at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-11-07 15:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from howarth at nitro dot med dot uc dot edu  2008-11-07 15:24 -------
*** Bug 38041 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
                   ` (5 preceding siblings ...)
  2008-11-07 15:26 ` howarth at nitro dot med dot uc dot edu
@ 2008-11-27 17:13 ` grosser at gcc dot gnu dot org
  2008-12-03 20:55 ` spop at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: grosser at gcc dot gnu dot org @ 2008-11-27 17:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

grosser at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|grosser at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug middle-end/37851] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617
  2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
                   ` (6 preceding siblings ...)
  2008-11-27 17:13 ` grosser at gcc dot gnu dot org
@ 2008-12-03 20:55 ` spop at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-12-03 20:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from spop at gcc dot gnu dot org  2008-12-03 20:50 -------
Already fixed.

*** This bug has been marked as a duplicate of 37684 ***


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2008-12-03 20:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-16 15:00 [Bug middle-end/37851] New: [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3617 dwarak dot rajagopal at amd dot com
2008-10-16 15:01 ` [Bug middle-end/37851] " dwarak dot rajagopal at amd dot com
2008-10-22 20:07 ` grosser at gcc dot gnu dot org
2008-10-23 20:11 ` grosser at gcc dot gnu dot org
2008-10-23 20:12 ` grosser at gcc dot gnu dot org
2008-11-07 15:19 ` howarth at nitro dot med dot uc dot edu
2008-11-07 15:26 ` howarth at nitro dot med dot uc dot edu
2008-11-27 17:13 ` grosser at gcc dot gnu dot org
2008-12-03 20:55 ` 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).