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; 9+ 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] 9+ messages in thread

end of thread, other threads:[~2010-10-14 12:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44561-4@http.gcc.gnu.org/bugzilla/>
2010-09-27 16:39 ` [Bug c++/44561] using nullptr_t with -flto/-fwhopr causes ICE: tree code 'lang_type' is not supported in gimple streams rguenth at gcc dot gnu.org
2010-10-10 13:31 ` rguenth at gcc dot gnu.org
2010-10-10 13:53 ` rguenth at gcc dot gnu.org
2010-10-10 20:54 ` rguenth at gcc dot gnu.org
2010-10-11  9:31 ` rguenth at gcc dot gnu.org
2010-10-11  9:51 ` rguenth at gcc dot gnu.org
2010-10-14 12:00 ` rguenth at gcc dot gnu.org
2010-10-14 12:02 ` rguenth at gcc dot gnu.org
2010-06-16 20:17 [Bug c++/44561] New: " 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).