public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Frank Heckenbach <frank@g-n-u.de> To: gcc-gnats@gcc.gnu.org Cc: hebisch@math.uni.wroc.pl, doko@debian.org Subject: c/10612: ICE when calling a function with variable sized return type Date: Sat, 03 May 2003 17:46:00 -0000 [thread overview] Message-ID: <20030503174543.14132.qmail@sources.redhat.com> (raw) >Number: 10612 >Category: c >Synopsis: ICE when calling a function with variable sized return type >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Sat May 03 17:46:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Frank Heckenbach <frank@g-n-u.de> >Release: 3.2.3/3.3 CVS 20030502/HEAD 20030501 >Organization: >Environment: i386-linux >Description: Calling a function with variable sized return type causes an internal compiler error. int main () { int n = 1; typedef struct { int t[n]; } s; static s f () { s r; r.t[0] = 0; return r; } f (); /* GCC crashes here */ return 0; } $ gcc-3.3 -Wall x.c x.c: In function `main': x.c:13: internal compiler error: in assign_stack_temp_for_type, at function.c:649 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2003-05-03 17:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-03 17:46 Frank Heckenbach [this message] 2003-05-05 10:58 ehrhardt 2003-05-08 11:06 Frank Heckenbach
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030503174543.14132.qmail@sources.redhat.com \ --to=frank@g-n-u.de \ --cc=doko@debian.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=hebisch@math.uni.wroc.pl \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).