[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.19 10:32:23
 AssignedTo|unassigned at gcc dot   |rguenth at gcc dot gnu.org
   |gnu.org |
   Target Milestone|--- |4.6.0
 Ever Confirmed|0   |1

--- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 
10:32:23 UTC ---
In TYPE_ATTRIBUTES we have

 identifier_node 0x77ef97e8 format
type lang_type 0x75d47150 global type VOID
align 1 symtab 0 alias set -1 canonical type 0x75d47150
bindings 0x75d42910 local bindings (nil)

an identifier with a type - we clean that in free-lang-data but probably
fail to walk TYPE_ATTRIBUTES.

Mine.


[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 
11:57:26 UTC ---
Author: rguenth
Date: Fri Nov 19 11:57:21 2010
New Revision: 166936

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166936
Log:
2010-11-19  Richard Guenther  rguent...@suse.de

PR lto/45789
* lto-streamer-out.c (lto_output_ts_common_tree_pointers): For
IDENTIFIERs do not stream TREE_TYPE.
* lto-streamer-in.c (lto_input_ts_common_tree_pointers): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-streamer-in.c
trunk/gcc/lto-streamer-out.c


[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 
11:57:40 UTC ---
Fixed.


[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

2010-11-18 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789

Zdenek Sojka zsojka at seznam dot cz changed:

   What|Removed |Added

   Keywords||lto
 Status|RESOLVED|UNCONFIRMED
  Known to work||4.5.2
 Resolution|DUPLICATE   |
  Known to fail||4.6.0

--- Comment #2 from Zdenek Sojka zsojka at seznam dot cz 2010-11-18 17:36:23 
UTC ---
This still fails in r166899, after fixing PR44561:

$ 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.


[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

2010-09-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2010-09-27 
11:10:21 UTC ---
Dup

*** This bug has been marked as a duplicate of bug 44561 ***