This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17054] New: internal compiler error: in make_decl_rtl, at varasm.c:752
- From: "florent dot gallet at orange dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2004 23:17:04 -0000
- Subject: [Bug c++/17054] New: internal compiler error: in make_decl_rtl, at varasm.c:752
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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