public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()
@ 2010-09-25 12:34 zsojka at seznam dot cz
2010-09-27 16:34 ` [Bug lto/45789] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-25 12:34 UTC (permalink / raw)
To: gcc-bugs
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: unassigned@gcc.gnu.org
ReportedBy: zsojka@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [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-25 12:34 [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf() zsojka at seznam dot cz
@ 2010-09-27 16:34 ` rguenth at gcc dot gnu.org
2010-11-18 18:56 ` zsojka at seznam dot cz
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-09-27 16:34 UTC (permalink / raw)
To: gcc-bugs
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 ***
^ permalink raw reply [flat|nested] 6+ messages in thread
* [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-25 12:34 [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf() zsojka at seznam dot cz
2010-09-27 16:34 ` [Bug lto/45789] " rguenth at gcc dot gnu.org
@ 2010-11-18 18:56 ` zsojka at seznam dot cz
2010-11-19 10:51 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-11-18 18:56 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [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-25 12:34 [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf() zsojka at seznam dot cz
2010-09-27 16:34 ` [Bug lto/45789] " rguenth at gcc dot gnu.org
2010-11-18 18:56 ` zsojka at seznam dot cz
@ 2010-11-19 10:51 ` rguenth at gcc dot gnu.org
2010-11-19 11:58 ` rguenth at gcc dot gnu.org
2010-11-19 12:57 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-19 10:51 UTC (permalink / raw)
To: gcc-bugs
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 0x7ffff7ef97e8 format
type <lang_type 0x7ffff5d47150 global type VOID
align 1 symtab 0 alias set -1 canonical type 0x7ffff5d47150>
bindings <0x7ffff5d42910> local bindings <(nil)>>
an identifier with a type - we clean that in free-lang-data but probably
fail to walk TYPE_ATTRIBUTES.
Mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [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-25 12:34 [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf() zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-11-19 10:51 ` rguenth at gcc dot gnu.org
@ 2010-11-19 11:58 ` rguenth at gcc dot gnu.org
2010-11-19 12:57 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-19 11:58 UTC (permalink / raw)
To: gcc-bugs
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=gcc&view=rev&rev=166936
Log:
2010-11-19 Richard Guenther <rguenther@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [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-25 12:34 [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf() zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-11-19 11:58 ` rguenth at gcc dot gnu.org
@ 2010-11-19 12:57 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-19 12:57 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-11-19 11:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-25 12:34 [Bug lto/45789] New: [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf() zsojka at seznam dot cz
2010-09-27 16:34 ` [Bug lto/45789] " rguenth at gcc dot gnu.org
2010-11-18 18:56 ` zsojka at seznam dot cz
2010-11-19 10:51 ` rguenth at gcc dot gnu.org
2010-11-19 11:58 ` rguenth at gcc dot gnu.org
2010-11-19 12:57 ` rguenth at gcc dot gnu.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).