This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: middle-end/10458: internal compiler error in `make_decl_rtl', at varasm.c:738
- From: bangerth at dealii dot org
- To: crux at qnet dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 23 Apr 2003 14:22:14 -0000
- Subject: Re: middle-end/10458: internal compiler error in `make_decl_rtl', at varasm.c:738
- Reply-to: bangerth at dealii dot org, crux at qnet dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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