c++/9374: [3.4 regression] ICE in make_decl_rtl, at varasm.c:790
Sylvain Pion
Sylvain.Pion@mpi-sb.mpg.de
Fri Jan 24 10:36:00 GMT 2003
The following reply was made to PR c++/9374; it has been noted by GNATS.
From: Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
To: bangerth@dealii.org, Sylvain.Pion@mpi-sb.mpg.de, gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/9374: [3.4 regression] ICE in make_decl_rtl, at varasm.c:790
Date: Fri, 24 Jan 2003 11:32:40 +0100
On Tue, Jan 21, 2003 at 04:17:25PM -0000, bangerth@dealii.org wrote:
> Old Synopsis: [New parser] ICE in make_decl_rtl, at varasm.c:790
> New Synopsis: [3.4 regression] ICE in make_decl_rtl, at varasm.c:790
>
> State-Changed-From-To: open->analyzed
> State-Changed-By: bangerth
> State-Changed-When: Tue Jan 21 16:17:24 2003
> State-Changed-Why:
> Confirmed. I don't believe it's a parser problem though, as the
> original synopsis indicated, rather some fallout from
> middle-end changes.
What led me to believe it was closer to the front-end is that,
although the following produces an ICE :
template < typename T >
void f() {
int i;
int ind[1] = {i};
}
int main() { f<int>(); }
the following works fine (just changing "int" to "T") :
template < typename T >
void f() {
T i;
int ind[1] = {i};
}
int main() { f<int>(); }
And I guess the middle/back-ends are supposed to see the same thing in both
cases.
I hope it helps...
--
Sylvain
More information about the Gcc-prs
mailing list