public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-54898-4-BWNCBTc2Gm@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <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


  parent reply	other threads:[~2012-10-11 16:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 10:10 [Bug lto/54898] New: " dimhen at gmail dot com
2012-10-11 10:11 ` [Bug lto/54898] " dimhen at gmail dot com
2012-10-11 14:00 ` rguenth at gcc dot gnu.org
2012-10-11 15:00 ` rguenth at gcc dot gnu.org
2012-10-11 15:16 ` rguenth at gcc dot gnu.org
2012-10-11 16:46 ` markus at trippelsdorf dot de [this message]
2012-10-12 10:16 ` rguenth at gcc dot gnu.org
2012-10-12 12:14 ` rguenth at gcc dot gnu.org
2012-10-12 12:29 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54898-4-BWNCBTc2Gm@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).