public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/41718] New: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359
@ 2009-10-15 19:04 bernds_cb1 at t-online dot de
2009-10-15 19:05 ` [Bug tree-optimization/41718] " bernds_cb1 at t-online dot de
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: bernds_cb1 at t-online dot de @ 2009-10-15 19:04 UTC (permalink / raw)
To: gcc-bugs
The testcase for bug 38582 causes a new failure in gcc trunk, an internal
compiler error (see summary). The revision is
Last Changed Rev: 152847
Last Changed Date: 2009-10-15 16:12:03 +0100 (Thu, 15 Oct 2009)
To reproduce, execute the following in the gcc build directory:
./f951 testcase.f90 -ffree-line-length-512 -g -ffree-form -ftime-report
-funroll-loops -O3
I'll attach the testcase to this bug as well.
I've briefly looked at it and this appears to be an integer overflow. In
account_vars_for_block, we end up with new_sv_num == 65576, and
triangular_index overflows.
--
Summary: internal compiler error: in add_stack_var_conflict, at
cfgexpand.c:359
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bernds_cb1 at t-online dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/41718] internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359
2009-10-15 19:04 [Bug tree-optimization/41718] New: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359 bernds_cb1 at t-online dot de
@ 2009-10-15 19:05 ` bernds_cb1 at t-online dot de
2009-10-16 8:53 ` rguenth at gcc dot gnu dot org
2009-10-16 16:57 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: bernds_cb1 at t-online dot de @ 2009-10-15 19:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bernds_cb1 at t-online dot de 2009-10-15 19:05 -------
Created an attachment (id=18802)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18802&action=view)
Testcase to reproduce
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/41718] internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359
2009-10-15 19:04 [Bug tree-optimization/41718] New: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359 bernds_cb1 at t-online dot de
2009-10-15 19:05 ` [Bug tree-optimization/41718] " bernds_cb1 at t-online dot de
@ 2009-10-16 8:53 ` rguenth at gcc dot gnu dot org
2009-10-16 16:57 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-10-16 8:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-16 08:53 -------
I suggest to change size_t to HOST_WIDEST_INT. But I guess on a 32bit host
you don't have any luck compiling this big testcase anyway...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/41718] internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359
2009-10-15 19:04 [Bug tree-optimization/41718] New: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359 bernds_cb1 at t-online dot de
2009-10-15 19:05 ` [Bug tree-optimization/41718] " bernds_cb1 at t-online dot de
2009-10-16 8:53 ` rguenth at gcc dot gnu dot org
@ 2009-10-16 16:57 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-10-16 16:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-10-16 16:56 -------
There are a lot of variables here. I don't even know if the resulting binary
will have enough stack space for those variables ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/41718] internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359
[not found] <bug-41718-4@http.gcc.gnu.org/bugzilla/>
@ 2012-05-10 16:50 ` bernds at gcc dot gnu.org
0 siblings, 0 replies; 5+ messages in thread
From: bernds at gcc dot gnu.org @ 2012-05-10 16:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41718
Bernd Schmidt <bernds at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |bernds at gcc dot gnu.org
Resolution| |FIXED
--- Comment #4 from Bernd Schmidt <bernds at gcc dot gnu.org> 2012-05-10 16:36:34 UTC ---
I think this got fixed in r154689.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-05-10 16:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-15 19:04 [Bug tree-optimization/41718] New: internal compiler error: in add_stack_var_conflict, at cfgexpand.c:359 bernds_cb1 at t-online dot de
2009-10-15 19:05 ` [Bug tree-optimization/41718] " bernds_cb1 at t-online dot de
2009-10-16 8:53 ` rguenth at gcc dot gnu dot org
2009-10-16 16:57 ` pinskia at gcc dot gnu dot org
[not found] <bug-41718-4@http.gcc.gnu.org/bugzilla/>
2012-05-10 16:50 ` bernds at gcc dot gnu.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).