From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29372 invoked by alias); 23 Apr 2003 14:22:15 -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 29351 invoked by uid 48); 23 Apr 2003 14:22:14 -0000 Date: Wed, 23 Apr 2003 14:22:00 -0000 Message-ID: <20030423142214.29350.qmail@sources.redhat.com> To: crux@qnet.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, crux@qnet.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: middle-end/10458: internal compiler error in `make_decl_rtl', at varasm.c:738 X-SW-Source: 2003-04/txt/msg00970.txt.bz2 List-Id: Synopsis: internal compiler error in `make_decl_rtl', at varasm.c:738 State-Changed-From-To: open->closed State-Changed-By: bangerth State-Changed-When: Wed Apr 23 14:22:14 2003 State-Changed-Why: With newer versions of gcc I get g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc x.cc:33: error: `saguaro' is not a class-name or namespace-name x.cc:34: error: ISO C++ forbids declaration of `saguaro' with no type x.cc: In function `int saguaro()': x.cc:35: error: `XMaxSize' undeclared (first use this function) x.cc:35: error: (Each undeclared identifier is reported only once for each function it appears in.) x.cc:35: error: `X' undeclared (first use this function) x.cc:36: error: `YMaxSize' undeclared (first use this function) x.cc:36: error: `Y' undeclared (first use this function) x.cc:37: error: `YMInfos' undeclared (first use this function) x.cc: At global scope: x.cc:40: error: `saguaro' is not a class-name or namespace-name x.cc: In function `void setsize(int, int)': x.cc:42: error: invalid types `int[int]' for array subscript x.cc:42: error: `U' undeclared (first use this function) x.cc:43: error: `YMInfos' undeclared (first use this function) x.cc:43: error: `V' undeclared (first use this function) Please note that gcc2.95 is already 3 1/2 years old. You should try to upgrade. W. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10458