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