This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/54898] [4.8 regression] ICE in uniquify_nodes, at lto/lto.c:1898
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Oct 2012 16:45:51 +0000
- Subject: [Bug lto/54898] [4.8 regression] ICE in uniquify_nodes, at lto/lto.c:1898
- Auto-submitted: auto-generated
- References: <bug-54898-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54898
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-10-11 16:45:51 UTC ---
The testcases could be a bit further reduced:
markus@x4 testcase % < test.i
typedef wchar_t;
wchar_t a;
markus@x4 testcase % < test.ii
class P
{
public:
typedef int PCXSTR;
typedef wchar_t YCHAR;
};
class F
{
P::PCXSTR PCXSTR;
};
class M
{
bool OnHashAlg (const wchar_t *);
F m_sPubKeyAlgOID;
};
bool
M::OnHashAlg (const wchar_t *)
{
}
markus@x4 testcase % gcc -r -nostdlib -flto test.i test.ii
lto1: internal compiler error: in uniquify_nodes, at lto/lto.c:1873
and with your gcc_asserts applied:
markus@x4 lto_bug % < test.i
typedef wchar_t;
wchar_t a;
markus@x4 lto_bug % < test.ii
void
fn1 (const wchar_t *)
{
}
markus@x4 lto_bug % gcc -r -nostdlib -flto test.i test.ii
lto1: internal compiler error: in write_ts_type_common_tree_pointers, at
tree-streamer-out.c:615