public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/4008: ICE: variable sized type and nested function
@ 2003-04-07 8:52 ehrhardt
0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-04-07 8:52 UTC (permalink / raw)
To: dave.anglin, gcc-bugs, gcc-prs, nobody
Synopsis: ICE: variable sized type and nested function
State-Changed-From-To: analyzed->closed
State-Changed-By: cae
State-Changed-When: Mon Apr 7 08:52:47 2003
State-Changed-Why:
This is a duplicate of 8081 which has a slightly longer audit trail.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4008
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c/4008: ICE: variable sized type and nested function
@ 2002-11-05 7:40 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-11-05 7:40 UTC (permalink / raw)
To: dave.anglin, gcc-bugs, gcc-prs, nobody
Synopsis: ICE: variable sized type and nested function
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Nov 5 07:40:02 2002
State-Changed-Why:
Confirmed. The ICE nowadays lives here:
tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/gcc xxx.c
xxx.c: In function `block_parm':
xxx.c:13: internal compiler error: in fix_lexical_addr, at function.c:5662
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4008
^ permalink raw reply [flat|nested] 3+ messages in thread
* c/4008: ICE: variable sized type and nested function
@ 2001-08-12 14:36 dave.anglin
0 siblings, 0 replies; 3+ messages in thread
From: dave.anglin @ 2001-08-12 14:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 4008
>Category: c
>Synopsis: ICE: variable sized type and nested function
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sun Aug 12 14:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Dave Anglin
>Release: 3.0.1 (prerealease) and 3.1 (prerelease)
>Organization:
>Environment:
i686-pc-linux-gnu and hppa1.1-hp-hpux10.20
>Description:
The testfile xxx.c causes various ICEs. It was derived from compile/20010605-1.c. Currently, compile/20010605-1.c fails on the PA. Since there is a problem with the return of a variable sized type in a nested function, I wondered if there would also be with a variable sized parameter in a nested function.
With gcc-3.0.1 on the PA:
266 (hiauly1)dave> gcc -o xxx xxx.c
xxx.c: In function `block_parm':
xxx.c:13: Internal compiler error in size_binop, at fold-const.c:1914
On the PA, there is a problem with pa.h not doing appropriate checks after calling int_size_in_bytes for a return of -1.
However, even with this fixed, the test code still causes an ICE. Part of the problem is assign_parms is called before the static chain list is built.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="xxx.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="xxx.c"
aW50Cm1haW4gKGludCBhcmdjLCBjaGFyICoqYXJndikKewogIGNvbnN0IGludCBzaXplID0gMTA7
CgogIHR5cGVkZWYgc3RydWN0IHsKICAgIGNoYXIgdmFsW3NpemVdOwogIH0gYmxvY2s7CgogIGlu
dCBibG9ja19wYXJtIChibG9jayBiKQogICAgewogICAgICByZXR1cm4gc2l6ZW9mIChiKTsKICAg
IH0KCiAgYmxvY2sgYTsKCiAgaWYgKGJsb2NrX3Bhcm0gKGEpICE9IHNpemUpCiAgICBhYm9ydCAo
KTsKCiAgZXhpdCAoMCk7Cn0K
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-07 8:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-07 8:52 c/4008: ICE: variable sized type and nested function ehrhardt
-- strict thread matches above, loose matches on Subject: below --
2002-11-05 7:40 bangerth
2001-08-12 14:36 dave.anglin
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).