This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 Oct 2010 13:31:34 +0000
- Subject: [Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams
- Auto-submitted: auto-generated
- References: <bug-44561-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-10 13:31:30 UTC ---
This btw fails nearly all libstdc++ tests when built with -flto. Jason, is
there no way to avoid lang_type to leak into the middle-end like this?
Why do we need to use lang_type for nullptr and cannot use void * with
some lang-specific flag?
This really breaks LTO badly for 4.6, so if it cannot be resolved in the FE
I guess I'll just drop all lang_type nodes at streaming time replacing
them with ptr_type_node (ugh).