public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: martin.green@uk.thalesgroup.com To: gcc-gnats@gcc.gnu.org Subject: c/10059: internal compiler error, scope problem? Date: Thu, 13 Mar 2003 11:46:00 -0000 [thread overview] Message-ID: <20030313113737.15355.qmail@sources.redhat.com> (raw) >Number: 10059 >Category: c >Synopsis: internal compiler error, scope problem? >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Mar 13 11:46:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Martin Green >Release: gcc version 2.95.2 G4 (Cetia ID:00182) >Organization: >Environment: unix >Description: void form(vector float fa,float vd) { } vector float ff; float vc,vd; int main() { form(ff,vc); // ok form(ff,vd); // gives internal compiler error } // We get an internal compiler error if the first parameter of a procedure is vector float // and the second parameter has the same name as a global variable. // gcc version 2.95.2 G4 (Cetia ID:00182) // gcc -fvec bug.c // bug.c: In function `main': // bug.c:10: Internal compiler error: // bug.c:10: Internal compiler error in `expand_expr', at expr.c:5791 // Please submit a full bug report. // See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions. /* % cat bug.i # 1 "bug.c" void form(__vector float fa,float vd) { } __vector float ff; float vc,vd; int main() { form(ff,vc); form(ff,vd); } % */ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2003-03-13 11:46 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-13 11:46 martin.green [this message] 2003-03-13 15:16 bangerth 2003-03-21 15:04 bangerth 2003-03-21 15:06 Wolfgang Bangerth
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=20030313113737.15355.qmail@sources.redhat.com \ --to=martin.green@uk.thalesgroup.com \ --cc=gcc-gnats@gcc.gnu.org \ /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).