This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/51198] [c++0x] [4.7 Regression] ICE with -flto and non-static data member initializers
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Dec 2011 17:13:10 +0000
- Subject: [Bug lto/51198] [c++0x] [4.7 Regression] ICE with -flto and non-static data member initializers
- Auto-submitted: auto-generated
- References: <bug-51198-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51198
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-01 17:13:10 UTC ---
Author: pinskia
Date: Thu Dec 1 17:13:05 2011
New Revision: 181886
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181886
Log:
2011-12-01 Andrew Pinski <apinski@cavium.com>
PR lto/51198
* tree.c (free_lang_data_in_decl): Clear FIELD_DECL's
DECL_INITIAL also.
2011-12-01 Andrew Pinski <apinski@cavium.com>
PR lto/51198
* g++.dg/torture/pr51198.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr51198.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.c