This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45947] ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 9 Oct 2010 16:00:06 +0000
- Subject: [Bug lto/45947] ICE: tree code 'template_decl' is not supported in gimple streams with -flto/-fwhopr
- Auto-submitted: auto-generated
- References: <bug-45947-4@http.gcc.gnu.org/bugzilla/>
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