public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions
@ 2004-04-24 15:00 pbrook at gcc dot gnu dot org
2004-04-24 18:39 ` [Bug middle-end/15117] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-04-24 15:00 UTC (permalink / raw)
To: gcc-bugs
The following code causes an ICE in create_tmp_var_for, at tree-nested.c:139
This is a C version of compile/contained_2.f90
void foo ()
{
int a[10];
void bar()
{
a[0] = 0;
}
}
--
Summary: ICE in create_tmp_var_for with nested functions
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pbrook at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
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=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/15117] ICE in create_tmp_var_for with nested functions
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
@ 2004-04-24 18:39 ` pinskia at gcc dot gnu dot org
2004-04-24 18:47 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-24 18:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-24 14:58 -------
*** Bug 15116 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/15117] ICE in create_tmp_var_for with nested functions
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
2004-04-24 18:39 ` [Bug middle-end/15117] " pinskia at gcc dot gnu dot org
@ 2004-04-24 18:47 ` pinskia at gcc dot gnu dot org
2004-04-24 18:54 ` [Bug middle-end/15117] [tree-ssa] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-24 18:47 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/15117] [tree-ssa] ICE in create_tmp_var_for with nested functions
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
2004-04-24 18:39 ` [Bug middle-end/15117] " pinskia at gcc dot gnu dot org
2004-04-24 18:47 ` pinskia at gcc dot gnu dot org
@ 2004-04-24 18:54 ` pinskia at gcc dot gnu dot org
2004-04-25 1:05 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-24 18:54 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE in create_tmp_var_for |[tree-ssa] ICE in
|with nested functions |create_tmp_var_for with
| |nested functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/15117] [tree-ssa] ICE in create_tmp_var_for with nested functions
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-04-24 18:54 ` [Bug middle-end/15117] [tree-ssa] " pinskia at gcc dot gnu dot org
@ 2004-04-25 1:05 ` pinskia at gcc dot gnu dot org
2004-04-26 15:32 ` reichelt at gcc dot gnu dot org
2004-05-06 4:26 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-25 1:05 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |15121
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/15117] [tree-ssa] ICE in create_tmp_var_for with nested functions
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-04-25 1:05 ` pinskia at gcc dot gnu dot org
@ 2004-04-26 15:32 ` reichelt at gcc dot gnu dot org
2004-05-06 4:26 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-04-26 15:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-04-26 15:05 -------
The bug appeared with rth's patch
http://gcc.gnu.org/ml/gcc-cvs/2004-04/msg00789.html
Richard, could you please have a look?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at redhat dot com,
| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2004-04-26 15:05:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/15117] [tree-ssa] ICE in create_tmp_var_for with nested functions
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-04-26 15:32 ` reichelt at gcc dot gnu dot org
@ 2004-05-06 4:26 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-06 4:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-06 04:26 -------
Fixed by on of the following:
2004-05-05 Richard Henderson <rth@redhat.com>
* tree-nested.c (create_tmp_var_for): Disallow variable sized types.
(convert_nonlocal_reference): Set val_only false for the base of a
component or array reference.
(convert_local_reference): Likewise.
2004-05-05 Richard Henderson <rth@redhat.com>
* gimplify.c (create_tmp_var): Disallow variable sized objects.
(gimplify_modify_expr): Don't memcpy for VA_ARG_EXPR.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15117
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-05-06 4:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-24 15:00 [Bug middle-end/15117] New: ICE in create_tmp_var_for with nested functions pbrook at gcc dot gnu dot org
2004-04-24 18:39 ` [Bug middle-end/15117] " pinskia at gcc dot gnu dot org
2004-04-24 18:47 ` pinskia at gcc dot gnu dot org
2004-04-24 18:54 ` [Bug middle-end/15117] [tree-ssa] " pinskia at gcc dot gnu dot org
2004-04-25 1:05 ` pinskia at gcc dot gnu dot org
2004-04-26 15:32 ` reichelt at gcc dot gnu dot org
2004-05-06 4:26 ` pinskia 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).