public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44561] New: using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams
@ 2010-06-16 20:17 zsojka at seznam dot cz
2010-06-16 20:40 ` [Bug c++/44561] " rguenth at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2010-06-16 20:17 UTC (permalink / raw)
To: gcc-bugs
Command line:
$ g++ -std=gnu++0x -flto testcase.C
testcase.C:2:12: internal compiler error: tree code 'lang_type' is not
supported in gimple streams
-------- testcase.C --------
typedef decltype(nullptr) nullptr_t;
nullptr_t a;
----------------------------
Tested revisions:
r160687 - crash
r159696 - crash
r159387 - crash
r158969 - nullptr is not recognized
The problem is that almost any code using C++0x mode fails to compile with
-flto -fkeep-inline-functions.
--
Summary: using nullptr_t with -flto/-fwhopr causes ICE: tree code
'lang_type' is not supported in gimple streams
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams
2010-06-16 20:17 [Bug c++/44561] New: using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams zsojka at seznam dot cz
@ 2010-06-16 20:40 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-16 20:40 UTC (permalink / raw)
To: gcc-bugs
------- 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 bit_size_type>
constant 32>
unit size <integer_cst 0xb77220c0 type <integer_type 0xb7739000 unsigned
int> constant 4>
align 8 symtab 0 alias set -1 canonical type 0xb7799000>
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-16 20:39:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44561
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-16 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-16 20:17 [Bug c++/44561] New: using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams zsojka at seznam dot cz
2010-06-16 20:40 ` [Bug c++/44561] " rguenth at gcc dot gnu dot org
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).