From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16750 invoked by alias); 13 Mar 2003 11:46:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16714 invoked by uid 71); 13 Mar 2003 11:46:01 -0000 Resent-Date: 13 Mar 2003 11:46:01 -0000 Resent-Message-ID: <20030313114601.16712.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, martin.green@uk.thalesgroup.com Received: (qmail 15356 invoked by uid 48); 13 Mar 2003 11:37:37 -0000 Message-Id: <20030313113737.15355.qmail@sources.redhat.com> Date: Thu, 13 Mar 2003 11:46:00 -0000 From: martin.green@uk.thalesgroup.com Reply-To: martin.green@uk.thalesgroup.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/10059: internal compiler error, scope problem? X-SW-Source: 2003-03/txt/msg00764.txt.bz2 List-Id: >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 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: