* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
@ 2009-12-01 19:50 ` pinskia at gcc dot gnu dot org
2009-12-02 12:13 ` rguenth at gcc dot gnu dot org
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-12-01 19:50 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Summary|gcc.dg/graphite/interchange-|[4.5 Regression]
|8.c causes ICE |gcc.dg/graphite/interchange-
| |8.c causes ICE
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
2009-12-01 19:50 ` [Bug middle-end/42178] [4.5 Regression] " pinskia at gcc dot gnu dot org
@ 2009-12-02 12:13 ` rguenth at gcc dot gnu dot org
2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-02 12:13 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
2009-12-01 19:50 ` [Bug middle-end/42178] [4.5 Regression] " pinskia at gcc dot gnu dot org
2009-12-02 12:13 ` rguenth at gcc dot gnu dot org
@ 2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
2009-12-14 19:20 ` spop at gcc dot gnu dot org
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-13 22:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-12-13 22:20 -------
*** Bug 42211 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |astrange at ithinksw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (2 preceding siblings ...)
2009-12-13 22:20 ` rguenth at gcc dot gnu dot org
@ 2009-12-14 19:20 ` spop at gcc dot gnu dot org
2009-12-15 8:39 ` spop at gcc dot gnu dot org
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-14 19:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from spop at gcc dot gnu dot org 2009-12-14 19:20 -------
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-14 19:20:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (3 preceding siblings ...)
2009-12-14 19:20 ` spop at gcc dot gnu dot org
@ 2009-12-15 8:39 ` spop at gcc dot gnu dot org
2009-12-15 8:41 ` spop at gcc dot gnu dot org
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-15 8:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from spop at gcc dot gnu dot org 2009-12-15 08:39 -------
Subject: Bug 42178
Author: spop
Date: Tue Dec 15 08:39:25 2009
New Revision: 155248
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155248
Log:
Fix PR42334: correct the update of the LST on loop interchange and
distribution.
2009-12-15 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42178
PR middle-end/42334
* graphite-interchange.c (lst_perfect_nestify): Reset to NULL the LSTs
that are empty.
(lst_do_interchange_1): Renamed lst_interchange_select_inner.
(lst_try_interchange): Reimplemented.
(lst_interchange_select_inner): Same.
(lst_do_interchange): Renamed lst_interchange_select_outer.
Reimplemented.
(scop_do_interchange): Update use of lst_interchange_select_outer.
* testsuite/g++.dg/graphite/pr42130.C: Add -fgraphite-identity.
* testsuite/gcc.dg/graphite/block-0.c: Un-XFAILed.
* testsuite/gcc.dg/graphite/pr42211.c: New.
* testsuite/gfortran.dg/graphite/pr42334.f90: New.
Added:
branches/graphite/gcc/testsuite/gcc.dg/graphite/pr42211.c
branches/graphite/gcc/testsuite/gfortran.dg/graphite/pr42334.f90
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-interchange.c
branches/graphite/gcc/testsuite/g++.dg/graphite/pr42130.C
branches/graphite/gcc/testsuite/gcc.dg/graphite/block-0.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (4 preceding siblings ...)
2009-12-15 8:39 ` spop at gcc dot gnu dot org
@ 2009-12-15 8:41 ` spop at gcc dot gnu dot org
2009-12-15 21:12 ` spop at gcc dot gnu dot org
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-15 8:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from spop at gcc dot gnu dot org 2009-12-15 08:41 -------
Fixed in the graphite branch. I will commit this to trunk after further test.
--
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=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (5 preceding siblings ...)
2009-12-15 8:41 ` spop at gcc dot gnu dot org
@ 2009-12-15 21:12 ` spop at gcc dot gnu dot org
2009-12-17 21:58 ` spop at gcc dot gnu dot org
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-15 21:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from spop at gcc dot gnu dot org 2009-12-15 21:12 -------
Subject: Bug 42178
Author: spop
Date: Tue Dec 15 21:11:48 2009
New Revision: 155273
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155273
Log:
Fix fall outs from Fix-PR42334.
2009-12-15 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42178
PR middle-end/42334
* graphite-interchange.c (lst_try_interchange): Do not increment the
the OUTER index when there is no AFTER kernel. Do not increment the
OUTER index for after processing the AFTER kernel.
(lst_interchange_select_inner): Call lst_try_interchange only on loops.
(lst_interchange_select_outer): Do not pass in a pointer to the OUTER
index. Do not pass to lst_interchange_select_inner the OUTER index.
(scop_do_interchange): Update use of lst_interchange_select_outer.
* testsuite/gfortran.dg/graphite/graphite.exp
(DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all.
* testsuite/gfortran.dg/graphite/interchange-1.f: Add comment. Clean
the graphite dump file.
* testsuite/gfortran.dg/graphite/interchange-2.f: Same.
* testsuite/gfortran.dg/graphite/pr42334-1.f: New.
Added:
branches/graphite/gcc/testsuite/gfortran.dg/graphite/pr42334-1.f
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-interchange.c
branches/graphite/gcc/testsuite/gfortran.dg/graphite/graphite.exp
branches/graphite/gcc/testsuite/gfortran.dg/graphite/interchange-1.f
branches/graphite/gcc/testsuite/gfortran.dg/graphite/interchange-2.f
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (6 preceding siblings ...)
2009-12-15 21:12 ` spop at gcc dot gnu dot org
@ 2009-12-17 21:58 ` spop at gcc dot gnu dot org
2009-12-19 19:05 ` rguenth at gcc dot gnu dot org
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-17 21:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from spop at gcc dot gnu dot org 2009-12-17 21:57 -------
Subject: Bug 42178
Author: spop
Date: Thu Dec 17 21:57:29 2009
New Revision: 155326
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155326
Log:
Fix fall outs from Fix-PR42334.
2009-12-17 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42178
PR middle-end/42334
* graphite-interchange.c (lst_try_interchange): Do not modify OUTER
index. Call lst_interchange_select_inner only once.
(lst_interchange_select_inner): Update use of lst_try_interchange.
(lst_interchange_select_outer): Update.
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-interchange.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (7 preceding siblings ...)
2009-12-17 21:58 ` spop at gcc dot gnu dot org
@ 2009-12-19 19:05 ` rguenth at gcc dot gnu dot org
2009-12-19 19:06 ` rguenth at gcc dot gnu dot org
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-19 19:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-12-19 19:05 -------
*** Bug 42435 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl dot tools at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (8 preceding siblings ...)
2009-12-19 19:05 ` rguenth at gcc dot gnu dot org
@ 2009-12-19 19:06 ` rguenth at gcc dot gnu dot org
2009-12-23 7:52 ` spop at gcc dot gnu dot org
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-19 19:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-12-19 19:05 -------
Re-open. It's still broken on the trunk.
--
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=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (9 preceding siblings ...)
2009-12-19 19:06 ` rguenth at gcc dot gnu dot org
@ 2009-12-23 7:52 ` spop at gcc dot gnu dot org
2009-12-23 7:53 ` spop at gcc dot gnu dot org
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-23 7:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from spop at gcc dot gnu dot org 2009-12-23 07:50 -------
Subject: Bug 42178
Author: spop
Date: Wed Dec 23 07:50:12 2009
New Revision: 155418
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155418
Log:
Fix PR42334: correct the update of the LST on loop interchange and
distribution.
2009-12-15 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42178
PR middle-end/42334
* graphite-interchange.c (lst_perfect_nestify): Reset to NULL the LSTs
that are empty.
(lst_do_interchange_1): Renamed lst_interchange_select_inner.
(lst_try_interchange): Reimplemented.
(lst_interchange_select_inner): Same.
(lst_do_interchange): Renamed lst_interchange_select_outer.
Reimplemented.
(scop_do_interchange): Update use of lst_interchange_select_outer.
* graphite-interchange.c (lst_try_interchange): Do not increment the
the OUTER index when there is no AFTER kernel. Do not increment the
OUTER index for after processing the AFTER kernel.
(lst_interchange_select_inner): Call lst_try_interchange only on loops.
(lst_interchange_select_outer): Do not pass in a pointer to the OUTER
index. Do not pass to lst_interchange_select_inner the OUTER index.
(scop_do_interchange): Update use of lst_interchange_select_outer.
* graphite-interchange.c (lst_try_interchange): Do not modify OUTER
index. Call lst_interchange_select_inner only once.
(lst_interchange_select_inner): Update use of lst_try_interchange.
(lst_interchange_select_outer): Update.
* testsuite/g++.dg/graphite/pr42130.C: Add -fgraphite-identity.
* testsuite/gcc.dg/graphite/block-0.c: Un-XFAILed.
* testsuite/gcc.dg/graphite/pr42211.c: New.
* testsuite/gfortran.dg/graphite/pr42334.f90: New.
* testsuite/gfortran.dg/graphite/graphite.exp
(DEFAULT_FLAGS_GRAPHITE_IDENTITY): Remove -fdump-tree-graphite-all.
* testsuite/gfortran.dg/graphite/interchange-1.f: Add comment. Clean
the graphite dump file.
* testsuite/gfortran.dg/graphite/interchange-2.f: Same.
* testsuite/gfortran.dg/graphite/pr42334-1.f: New.
Added:
trunk/gcc/testsuite/gcc.dg/graphite/pr42211.c
trunk/gcc/testsuite/gfortran.dg/graphite/pr42334-1.f
trunk/gcc/testsuite/gfortran.dg/graphite/pr42334.f90
Modified:
trunk/gcc/ChangeLog.graphite
trunk/gcc/graphite-interchange.c
trunk/gcc/testsuite/g++.dg/graphite/pr42130.C
trunk/gcc/testsuite/gcc.dg/graphite/block-0.c
trunk/gcc/testsuite/gfortran.dg/graphite/graphite.exp
trunk/gcc/testsuite/gfortran.dg/graphite/interchange-1.f
trunk/gcc/testsuite/gfortran.dg/graphite/interchange-2.f
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (10 preceding siblings ...)
2009-12-23 7:52 ` spop at gcc dot gnu dot org
@ 2009-12-23 7:53 ` spop at gcc dot gnu dot org
2009-12-24 1:26 ` howarth at nitro dot med dot uc dot edu
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2009-12-23 7:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from spop at gcc dot gnu dot org 2009-12-23 07:53 -------
Fixed.
--
spop at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (11 preceding siblings ...)
2009-12-23 7:53 ` spop at gcc dot gnu dot org
@ 2009-12-24 1:26 ` howarth at nitro dot med dot uc dot edu
2009-12-24 1:30 ` howarth at nitro dot med dot uc dot edu
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-24 1:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from howarth at nitro dot med dot uc dot edu 2009-12-24 01:26 -------
I still get an ICE on x86_64-apple-darwin10 at r155434 as...
Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/interchange-8.c
-O2 -fdump-tree-graphite-all -floop-interchange -fno-loop-block
-fno-loop-strip-mine -ffast-math -S -o interchange-8.s (timeout = 300)
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/interchange-8.c:
In function 'foo':
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/interchange-8.c:
In function 'foo':
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
FAIL: gcc.dg/graphite/interchange-8.c (internal compiler error)
FAIL: gcc.dg/graphite/interchange-8.c (test for excess errors)
Excess errors:
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
internal compiler error: Segmentation fault
XFAIL: gcc.dg/graphite/interchange-8.c scan-tree-dump-times graphite "will be
interchanged" 1
--
howarth at nitro dot med dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (12 preceding siblings ...)
2009-12-24 1:26 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-24 1:30 ` howarth at nitro dot med dot uc dot edu
2009-12-24 1:35 ` howarth at nitro dot med dot uc dot edu
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-24 1:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from howarth at nitro dot med dot uc dot edu 2009-12-24 01:29 -------
This backtraces with the Apple gdb as...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004
0x00000001004e17e8 in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:706
706 for (inner = 0; VEC_iterate (lst_p, LST_SEQ (inner_father), inner,
l); inner++)
(gdb) bt
#0 0x00000001004e17e8 in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:706
#1 0x00000001004e18fe in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:684
#2 0x00000001004e2bb6 in lst_interchange_select_outer (scop=0x14182cc80,
loop=0x141826b50, outer=0) at
../../gcc-4.5-20091223/gcc/graphite-interchange.c:732
#3 0x00000001004e2c21 in lst_interchange_select_outer (scop=0x14182cc80,
loop=0x141826f30, outer=<value temporarily unavailable, due to optimizations>)
at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:743
#4 0x00000001004e2c5e in scop_do_interchange (scop=0x14182cc80) at
../../gcc-4.5-20091223/gcc/graphite-interchange.c:754
#5 0x00000001004e41b8 in apply_poly_transforms (scop=0x14182cc80) at
../../gcc-4.5-20091223/gcc/graphite-poly.c:260
#6 0x00000001004cfa93 in graphite_transform_loops () at
../../gcc-4.5-20091223/gcc/graphite.c:276
#7 0x000000010077356a in graphite_transforms () at
../../gcc-4.5-20091223/gcc/tree-ssa-loop.c:300
#8 0x00000001005b580e in execute_one_pass (pass=0x100c13960) at
../../gcc-4.5-20091223/gcc/passes.c:1561
#9 0x00000001005b5add in execute_pass_list (pass=0x100c13960) at
../../gcc-4.5-20091223/gcc/passes.c:1616
#10 0x00000001005b5aef in execute_pass_list (pass=0x100c136c0) at
../../gcc-4.5-20091223/gcc/passes.c:1617
#11 0x00000001005b5aef in execute_pass_list (pass=0x100c12d00) at
../../gcc-4.5-20091223/gcc/passes.c:1617
#12 0x00000001006e4f78 in tree_rest_of_compilation (fndecl=0x141e09900) at
../../gcc-4.5-20091223/gcc/tree-optimize.c:413
#13 0x000000010089fa13 in cgraph_expand_function (node=<value temporarily
unavailable, due to optimizations>) at
../../gcc-4.5-20091223/gcc/cgraphunit.c:1544
#14 0x00000001008a290a in cgraph_optimize () at
../../gcc-4.5-20091223/gcc/cgraphunit.c:1623
#15 0x00000001008a2eed in cgraph_finalize_compilation_unit () at
../../gcc-4.5-20091223/gcc/cgraphunit.c:1093
#16 0x000000010001ff02 in c_write_global_declarations () at
../../gcc-4.5-20091223/gcc/c-decl.c:9490
#17 0x000000010067abe2 in toplev_main (argc=28, argv=0x7fff5fbfeb58) at
../../gcc-4.5-20091223/gcc/toplev.c:1061
#18 0x0000000100001514 in start ()
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (13 preceding siblings ...)
2009-12-24 1:30 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-24 1:35 ` howarth at nitro dot med dot uc dot edu
2009-12-27 18:54 ` hjl dot tools at gmail dot com
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-24 1:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from howarth at nitro dot med dot uc dot edu 2009-12-24 01:35 -------
Note that gcc.dg/graphite/block-4.c also ICEs with essentially the same
backtrace...
Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-4.c
-O2 -floop-block -fno-loop-strip-mine -fno-loop-interchange
-fdump-tree-graphite-all -S -o block-4.s (timeout = 300)
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-4.c:
In function 'test':
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-4.c:8:6:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-4.c:
In function 'test':
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-4.c:8:6:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
FAIL: gcc.dg/graphite/block-4.c (internal compiler error)
FAIL: gcc.dg/graphite/block-4.c (test for excess errors)
Excess errors:
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-4.c:8:6:
internal compiler error: Segmentation fault
Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/graphite/block-5.c
-O2 -floop-block -fno-loop-strip-mine -fno-loop-interchange
-fdump-tree-graphite-all -S -o block-5.s (timeout = 300)
PASS: gcc.dg/graphite/block-5.c (test for excess errors)
XFAIL: gcc.dg/graphite/block-5.c scan-tree-dump-times graphite "Interchange
valid for loops 0 and 1:" 2
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000002
0x00000001004e17e8 in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:706
706 for (inner = 0; VEC_iterate (lst_p, LST_SEQ (inner_father), inner,
l); inner++)
(gdb) bt
#0 0x00000001004e17e8 in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:706
#1 0x00000001004e18fe in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:684
#2 0x00000001004e18fe in lst_interchange_select_inner (scop=<value temporarily
unavailable, due to optimizations>, outer_father=<value temporarily
unavailable, due to optimizations>, outer=<value temporarily unavailable, due
to optimizations>, inner_father=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:684
#3 0x00000001004e2bb6 in lst_interchange_select_outer (scop=0x141826800,
loop=0x100d11370, outer=0) at
../../gcc-4.5-20091223/gcc/graphite-interchange.c:732
#4 0x00000001004e2c21 in lst_interchange_select_outer (scop=0x141826800,
loop=0x1418ad9c0, outer=<value temporarily unavailable, due to optimizations>)
at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:743
#5 0x00000001004e2c21 in lst_interchange_select_outer (scop=0x141826800,
loop=0x1418ad9e0, outer=<value temporarily unavailable, due to optimizations>)
at ../../gcc-4.5-20091223/gcc/graphite-interchange.c:743
#6 0x00000001004e2c5e in scop_do_interchange (scop=0x141826800) at
../../gcc-4.5-20091223/gcc/graphite-interchange.c:754
#7 0x00000001004d31a3 in scop_do_block (scop=<value temporarily unavailable,
due to optimizations>) at ../../gcc-4.5-20091223/gcc/graphite-blocking.c:293
#8 0x00000001004e41e8 in apply_poly_transforms (scop=0x141826800) at
../../gcc-4.5-20091223/gcc/graphite-poly.c:253
#9 0x00000001004cfa93 in graphite_transform_loops () at
../../gcc-4.5-20091223/gcc/graphite.c:276
#10 0x000000010077356a in graphite_transforms () at
../../gcc-4.5-20091223/gcc/tree-ssa-loop.c:300
#11 0x00000001005b580e in execute_one_pass (pass=0x100c13960) at
../../gcc-4.5-20091223/gcc/passes.c:1561
#12 0x00000001005b5add in execute_pass_list (pass=0x100c13960) at
../../gcc-4.5-20091223/gcc/passes.c:1616
#13 0x00000001005b5aef in execute_pass_list (pass=0x100c136c0) at
../../gcc-4.5-20091223/gcc/passes.c:1617
#14 0x00000001005b5aef in execute_pass_list (pass=0x100c12d00) at
../../gcc-4.5-20091223/gcc/passes.c:1617
#15 0x00000001006e4f78 in tree_rest_of_compilation (fndecl=0x141e09900) at
../../gcc-4.5-20091223/gcc/tree-optimize.c:413
#16 0x000000010089fa13 in cgraph_expand_function (node=<value temporarily
unavailable, due to optimizations>) at
../../gcc-4.5-20091223/gcc/cgraphunit.c:1544
#17 0x00000001008a290a in cgraph_optimize () at
../../gcc-4.5-20091223/gcc/cgraphunit.c:1623
#18 0x00000001008a2eed in cgraph_finalize_compilation_unit () at
../../gcc-4.5-20091223/gcc/cgraphunit.c:1093
#19 0x000000010001ff02 in c_write_global_declarations () at
../../gcc-4.5-20091223/gcc/c-decl.c:9490
#20 0x000000010067abe2 in toplev_main (argc=27, argv=0x7fff5fbfeba8) at
../../gcc-4.5-20091223/gcc/toplev.c:1061
#21 0x0000000100001514 in start ()
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (14 preceding siblings ...)
2009-12-24 1:35 ` howarth at nitro dot med dot uc dot edu
@ 2009-12-27 18:54 ` hjl dot tools at gmail dot com
2009-12-27 18:54 ` hjl dot tools at gmail dot com
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-27 18:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from hjl dot tools at gmail dot com 2009-12-27 18:54 -------
*** Bug 42510 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] gcc.dg/graphite/interchange-8.c causes ICE
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (15 preceding siblings ...)
2009-12-27 18:54 ` hjl dot tools at gmail dot com
@ 2009-12-27 18:54 ` hjl dot tools at gmail dot com
2010-01-05 22:55 ` [Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite spop at gcc dot gnu dot org
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-12-27 18:54 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3669 bytes --]
------- Comment #14 from hjl dot tools at gmail dot com 2009-12-27 18:53 -------
On Linux/x86-64, revision 155479 gave:
==25359== Invalid read of size 8
==25359== at 0xC714EE: lst_interchange_select_inner
(graphite-interchange.c:708)
==25359== by 0xC714DC: lst_interchange_select_inner
(graphite-interchange.c:684)
==25359== by 0xC72725: lst_interchange_select_outer
(graphite-interchange.c:732)
==25359== by 0xC7278D: lst_interchange_select_outer
(graphite-interchange.c:743)
==25359== by 0xC727CB: scop_do_interchange (graphite-interchange.c:754)
==25359== by 0xBE5A37: apply_poly_transforms (graphite-poly.c:260)
==25359== by 0xBDF68F: graphite_transform_loops (graphite.c:276)
==25359== by 0x883286: graphite_transforms (tree-ssa-loop.c:300)
==25359== by 0x70F54A: execute_one_pass (passes.c:1561)
==25359== by 0x70F7D4: execute_pass_list (passes.c:1616)
==25359== by 0x70F7E6: execute_pass_list (passes.c:1617)
==25359== by 0x70F7E6: execute_pass_list (passes.c:1617)
==25359== Address 0xb78ac20 is not stack'd, malloc'd or (recently) free'd
==25359==
==25359== Invalid read of size 4
==25359== at 0xC713BF: lst_interchange_select_inner
(graphite-interchange.c:706)
==25359== by 0xC714DC: lst_interchange_select_inner
(graphite-interchange.c:684)
==25359== by 0xC72725: lst_interchange_select_outer
(graphite-interchange.c:732)
==25359== by 0xC7278D: lst_interchange_select_outer
(graphite-interchange.c:743)
==25359== by 0xC727CB: scop_do_interchange (graphite-interchange.c:754)
==25359== by 0xBE5A37: apply_poly_transforms (graphite-poly.c:260)
==25359== by 0xBDF68F: graphite_transform_loops (graphite.c:276)
==25359== by 0x883286: graphite_transforms (tree-ssa-loop.c:300)
==25359== by 0x70F54A: execute_one_pass (passes.c:1561)
==25359== by 0x70F7D4: execute_pass_list (passes.c:1616)
==25359== by 0x70F7E6: execute_pass_list (passes.c:1617)
==25359== by 0x70F7E6: execute_pass_list (passes.c:1617)
==25359== Address 0x50 is not stack'd, malloc'd or (recently) free'd
==25359==
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/graphite/interchange-8.c:
In function âfooâ:
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
==25359==
==25359== HEAP SUMMARY:
==25359== in use at exit: 2,988,596 bytes in 63,676 blocks
==25359== total heap usage: 33,696,767 allocs, 33,633,091 frees,
1,196,915,069 bytes allocated
==25359==
==25359== LEAK SUMMARY:
==25359== definitely lost: 24 bytes in 1 blocks
==25359== indirectly lost: 48 bytes in 1 blocks
==25359== possibly lost: 23,256 bytes in 901 blocks
==25359== still reachable: 2,965,268 bytes in 62,773 blocks
==25359== suppressed: 0 bytes in 0 blocks
==25359== Rerun with --leak-check=full to see details of leaked memory
==25359==
==25359== For counts of detected and suppressed errors, rerun with: -v
==25359== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 6 from 6)
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|x86_64-apple-darwin10 |
GCC host triplet|x86_64-apple-darwin10 |
GCC target triplet|x86_64-apple-darwin10 |
Last reconfirmed|2009-12-14 19:20:10 |2009-12-27 18:53:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (16 preceding siblings ...)
2009-12-27 18:54 ` hjl dot tools at gmail dot com
@ 2010-01-05 22:55 ` spop at gcc dot gnu dot org
2010-01-07 18:33 ` spop at gcc dot gnu dot org
2010-01-07 18:35 ` spop at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-01-05 22:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from spop at gcc dot gnu dot org 2010-01-05 22:55 -------
Subject: Bug 42178
Author: spop
Date: Tue Jan 5 22:55:02 2010
New Revision: 155665
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155665
Log:
Fix PR42178.
2010-01-05 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42178
* graphite-interchange.c (lst_try_interchange_loops): Do not return
the before, nest, and after LSTs.
(lst_try_interchange): Removed.
(lst_interchange_select_inner): Do not iterate over the LSTs if they
were modified.
(lst_interchange_select_outer): Apply interchange on the outer loop
until there are no more changes in the inner loops.
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-interchange.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (17 preceding siblings ...)
2010-01-05 22:55 ` [Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite spop at gcc dot gnu dot org
@ 2010-01-07 18:33 ` spop at gcc dot gnu dot org
2010-01-07 18:35 ` spop at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-01-07 18:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from spop at gcc dot gnu dot org 2010-01-07 18:32 -------
Subject: Bug 42178
Author: spop
Date: Thu Jan 7 18:32:39 2010
New Revision: 155701
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155701
Log:
Fix PR42178.
2010-01-05 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42178
* graphite-interchange.c (lst_try_interchange_loops): Do not return
the before, nest, and after LSTs.
(lst_try_interchange): Removed.
(lst_interchange_select_inner): Do not iterate over the LSTs if they
were modified.
(lst_interchange_select_outer): Apply interchange on the outer loop
until there are no more changes in the inner loops.
Modified:
trunk/gcc/ChangeLog.graphite
trunk/gcc/graphite-interchange.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug middle-end/42178] [4.5 Regression] Invalid memory access in graphite
2009-11-25 22:33 [Bug middle-end/42178] New: gcc.dg/graphite/interchange-8.c causes ICE howarth at nitro dot med dot uc dot edu
` (18 preceding siblings ...)
2010-01-07 18:33 ` spop at gcc dot gnu dot org
@ 2010-01-07 18:35 ` spop at gcc dot gnu dot org
19 siblings, 0 replies; 21+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-01-07 18:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from spop at gcc dot gnu dot org 2010-01-07 18:35 -------
Fixed.
--
spop at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178
^ permalink raw reply [flat|nested] 21+ messages in thread