public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45947] New: ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr
@ 2010-10-08 22:06 zsojka at seznam dot cz
  2010-10-09 11:29 ` [Bug lto/45947] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-08 22:06 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: tree code 'template_decl' is not supported in
                    gimple streams with -flto/-fwhopr
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22002
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22002
reduced testcase

Compiler output:
$ gcc -flto -c pr45947.C  
pr45947.C:7:26: internal compiler error: tree code 'template_decl' 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.

Tested revisions:
r165152 - crash


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug lto/45947] ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr
  2010-10-08 22:06 [Bug lto/45947] New: ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr zsojka at seznam dot cz
@ 2010-10-09 11:29 ` rguenth at gcc dot gnu.org
  2010-10-09 16:00 ` rguenth at gcc dot gnu.org
  2010-10-09 16:00 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-09 11:29 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.10.09 11:29:04
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-09 11:29:04 UTC ---
Mine.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug lto/45947] ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr
  2010-10-08 22:06 [Bug lto/45947] New: ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr zsojka at seznam dot cz
  2010-10-09 11:29 ` [Bug lto/45947] " rguenth at gcc dot gnu.org
@ 2010-10-09 16:00 ` rguenth at gcc dot gnu.org
  2010-10-09 16:00 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-09 16:00 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-09 16:00:19 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug lto/45947] ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr
  2010-10-08 22:06 [Bug lto/45947] New: ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr zsojka at seznam dot cz
  2010-10-09 11:29 ` [Bug lto/45947] " rguenth at gcc dot gnu.org
  2010-10-09 16:00 ` rguenth at gcc dot gnu.org
@ 2010-10-09 16:00 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-09 16:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-09 15:59:54 UTC ---
Author: rguenth
Date: Sat Oct  9 15:59:50 2010
New Revision: 165234

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165234
Log:
2010-10-09  Richard Guenther  <rguenther@suse.de>

    PR lto/45947
    * tree.c (free_lang_data_in_cgraph): Properly walk the varpool.

    * g++.dg/lto/20101009-1_0.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/lto/20101009-1_0.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-09 16:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-08 22:06 [Bug lto/45947] New: ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr zsojka at seznam dot cz
2010-10-09 11:29 ` [Bug lto/45947] " rguenth at gcc dot gnu.org
2010-10-09 16:00 ` rguenth at gcc dot gnu.org
2010-10-09 16:00 ` 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).