From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24561 invoked by alias); 11 Oct 2012 16:46:34 -0000 Received: (qmail 22675 invoked by uid 48); 11 Oct 2012 16:45:55 -0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/54898] [4.8 regression] ICE in uniquify_nodes, at lto/lto.c:1898 Date: Thu, 11 Oct 2012 16:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg01100.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54898 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markus at trippelsdorf dot | |de --- Comment #5 from Markus Trippelsdorf 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