[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 --- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-14 11:59:50 UTC --- Author: rguenth Date: Thu Oct 14 11:59:47 2010 New Revision: 165462 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165462 Log: 2010-10-14 Richard

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 --- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-11 09:30:57 UTC --- New problems. typedef decltype(nullptr) nullptr_t; class shared_ptr { public: shared_ptr(nullptr_t __p); }; shared_ptr p = nullptr; exposes a

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-11 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 --- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-11 09:51:19 UTC --- Created attachment 22014 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22014 WIP patch Work-in-progress for the just-stream-lang-type idea. Adding

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-10 Thread rguenth at gcc dot gnu.org
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

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-10 13:53:08 UTC --- Another way to handle it in LTO would be to simply stream LANG_TYPE, assuming it must be completely opaque to the rest of the compiler anyway. Probably

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-10-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-09-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-09-27 11:10:21 UTC --- *** Bug 45789 has been marked as a duplicate of this bug. ***

[Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams

2010-06-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-06-16 20:39 --- Confirmed. It isn't valid for LANG_TYPE node to leak to the middle-end. gdb) call debug_tree (expr) lang_type 0xb77a3180 nullptr_t unsigned SI size integer_cst 0xb7722288 type integer_type 0xb7739060