[Bug c++/17054] New: internal compiler error: in make_decl_rtl, at varasm.c:752
florent dot gallet at orange dot fr
gcc-bugzilla@gcc.gnu.org
Mon Aug 16 23:17:00 GMT 2004
Well it's easy to make the prog work, but I still report it
To reproduce :
typedef struct tagS {
long a;
long b;
long c;
} S;
int i;
S g(const S &);
S g();
int f()
{
return 0;
}
S g(const S &toto)
{ // the error is here
int h = f();
S tata = {toto.a, toto.b, h};
return tata;
}
S g()
{
S toto;
return g(toto);
}
--
Summary: internal compiler error: in make_decl_rtl, at
varasm.c:752
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: florent dot gallet at orange dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17054
More information about the Gcc-bugs
mailing list