http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789

           Summary: [4.6 Regression] ICE: tree code 'lang_type' is not
                    supported in gimple streams with -flto when using
                    __builtin_printf()
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz


Compiler output:
$ gcc -flto testcase.C       
testcase.C:6:19: internal compiler error: tree code 'lang_type' is not
supported in gimple streams
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gcc -fwhopr testcase.C
testcase.C:6:19: internal compiler error: tree code 'lang_type' is not
supported in gimple streams
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

----- testcase.C -----
void foo ()
{
  __builtin_printf (0);
}
typedef int format;
----------------------

Tested revisions:
r164561 - crash
r163636 - crash
r161659 - OK
r159696 - OK
4.5 r163761 - OK

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to