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 11:16:00 GMT 2003
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-bugs
mailing list