public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421
@ 2008-10-14 15:29 dwarak dot rajagopal at amd dot com
2008-10-14 15:30 ` [Bug middle-end/37828] " dwarak dot rajagopal at amd dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: dwarak dot rajagopal at amd dot com @ 2008-10-14 15:29 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 930 bytes --]
g++ -c -floop-block -O3 bug_rep.cpp
bug_rep.cpp: In function int sort_and_split(foo**, foo**&, long int):
bug_rep.cpp:9: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3421
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Testcase attached.
- Dwarak
--
Summary: [graphite] in expand_scalar_variables_expr, at
graphite.c:3421
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=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] in expand_scalar_variables_expr, at graphite.c:3421
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
@ 2008-10-14 15:30 ` dwarak dot rajagopal at amd dot com
2008-10-14 15:33 ` spop at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dwarak dot rajagopal at amd dot com @ 2008-10-14 15:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dwarak dot rajagopal at amd dot com 2008-10-14 15:29 -------
Created an attachment (id=16492)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16492&action=view)
Testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] in expand_scalar_variables_expr, at graphite.c:3421
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
2008-10-14 15:30 ` [Bug middle-end/37828] " dwarak dot rajagopal at amd dot com
@ 2008-10-14 15:33 ` spop at gcc dot gnu dot org
2008-10-14 17:56 ` [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block grosser at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-10-14 15:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from spop at gcc dot gnu dot org 2008-10-14 15:32 -------
Mine.
It makes no sense to loop block single nested loops.
--
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 |2008-10-14 15:32:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
2008-10-14 15:30 ` [Bug middle-end/37828] " dwarak dot rajagopal at amd dot com
2008-10-14 15:33 ` spop at gcc dot gnu dot org
@ 2008-10-14 17:56 ` grosser at gcc dot gnu dot org
2008-10-14 18:25 ` spop at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: grosser at gcc dot gnu dot org @ 2008-10-14 17:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from grosser at gcc dot gnu dot org 2008-10-14 17:55 -------
(In reply to comment #2)
> It makes no sense to loop block single nested loops.
Using -fgraphite-identity (not yet commited) or removing the ifdef at
graphite.c:4915 the Polyhedron also fails with this bug. So it seems not only
to be because of loop blocking.
All compiled with
"f951 -O1 -fdump-tree-graphite-all -fgraphite-identity name.f90"
[...]
Performing interprocedural optimizations
<visibility> <early_local_cleanups> <summary generate> <inline> <static-var>
<pure-const>Assembling functions:
list ddx ddy sw
bug.f90: In function 'sw':
bug.f90:6: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3421
[...]
<pure-const>Assembling functions:
div_care capacitance prod0 vprim ginteg fourir fourir2d preco fourirg
init_solve fourir2dx prod1 mv_prod cgstab
capacita.f90: In function 'cgstab':
capacita.f90:12: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3421
[...]
<pure-const>Assembling functions:
list ddx ddy sw
channel.f90: In function 'sw':
channel.f90:6: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3421
[...]
Performing interprocedural optimizations
<visibility> <early_local_cleanups> {GC 5400k -> 4387k} {GC 5712k -> 5287k}
<summary generate> <inline> <static-var> <pure-const>Assembling functions:
convert_lower_case computer_time time_now runit check_eof check_number
mutual_ind_cir_cir_coils induct define_wand_coils {GC 6903k -> 4965k}
build_vrml_data
induct.f90: In function 'build_vrml_data':
induct.f90:4840: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3421
[...]
Performing interprocedural optimizations
<visibility> <early_local_cleanups> {GC 5362k -> 3039k} <summary generate>
<inline> <static-var> <pure-const>Assembling functions:
dswap genuni idamax trs2a2 minlst cptrf2 dscal extpic lsame xerbla cmpmat
rnflow
rnflow.f90: In function 'rnflow':
rnflow.f90:4478: internal compiler error: in expand_scalar_variables_expr, at
graphite.c:3421
--
grosser at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |grosser at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
` (2 preceding siblings ...)
2008-10-14 17:56 ` [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block grosser at gcc dot gnu dot org
@ 2008-10-14 18:25 ` spop at gcc dot gnu dot org
2008-10-14 18:30 ` spop at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-10-14 18:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from spop at gcc dot gnu dot org 2008-10-14 18:24 -------
Subject: Bug 37828
Author: spop
Date: Tue Oct 14 18:23:05 2008
New Revision: 141116
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141116
Log:
2008-10-14 Sebastian Pop <sebastian.pop@amd.com>
Harsha Jagasia <harsha.jagasia@amd.com>
PR tree-optimization/37828
* testsuite/gcc.dg/graphite/pr37828.c: New.
* graphite.c (graphite_trans_loop_block): Do not loop block
single nested loops.
Added:
branches/graphite/gcc/testsuite/gcc.dg/graphite/pr37828.c
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
` (3 preceding siblings ...)
2008-10-14 18:25 ` spop at gcc dot gnu dot org
@ 2008-10-14 18:30 ` spop at gcc dot gnu dot org
2008-10-15 16:19 ` spop at gcc dot gnu dot org
2008-10-15 16:20 ` spop at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-10-14 18:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from spop at gcc dot gnu dot org 2008-10-14 18:29 -------
Fixed on graphite branch.
We should open another bug once the -fgraphite-identity is in.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
` (4 preceding siblings ...)
2008-10-14 18:30 ` spop at gcc dot gnu dot org
@ 2008-10-15 16:19 ` spop at gcc dot gnu dot org
2008-10-15 16:20 ` spop at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-10-15 16:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from spop at gcc dot gnu dot org 2008-10-15 16:18 -------
Fixed.
--
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=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
` (5 preceding siblings ...)
2008-10-15 16:19 ` spop at gcc dot gnu dot org
@ 2008-10-15 16:20 ` spop at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-10-15 16:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from spop at gcc dot gnu dot org 2008-10-15 16:19 -------
Subject: Bug 37828
Author: spop
Date: Wed Oct 15 16:17:45 2008
New Revision: 141142
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141142
Log:
2008-10-15 Sebastian Pop <sebastian.pop@amd.com>
Harsha Jagasia <harsha.jagasia@amd.com>
PR tree-optimization/37828
* testsuite/gcc.dg/graphite/pr37828.c: New.
* graphite.c (graphite_trans_loop_block): Do not loop block
single nested loops.
Added:
trunk/gcc/testsuite/gcc.dg/graphite/pr37828.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/graphite.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37828
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-10-15 16:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-14 15:29 [Bug middle-end/37828] New: [graphite] in expand_scalar_variables_expr, at graphite.c:3421 dwarak dot rajagopal at amd dot com
2008-10-14 15:30 ` [Bug middle-end/37828] " dwarak dot rajagopal at amd dot com
2008-10-14 15:33 ` spop at gcc dot gnu dot org
2008-10-14 17:56 ` [Bug middle-end/37828] [graphite] ICE in expand_scalar_variables_expr, at graphite.c:3421 with -floop-block grosser at gcc dot gnu dot org
2008-10-14 18:25 ` spop at gcc dot gnu dot org
2008-10-14 18:30 ` spop at gcc dot gnu dot org
2008-10-15 16:19 ` spop at gcc dot gnu dot org
2008-10-15 16:20 ` 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).