This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51572] [4.7 Regression] LTO bootstrap failed with bootstrap-profiled
- 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: Fri, 16 Dec 2011 14:31:35 +0000
- Subject: [Bug bootstrap/51572] [4.7 Regression] LTO bootstrap failed with bootstrap-profiled
- Auto-submitted: auto-generated
- References: <bug-51572-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51572
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-16 14:31:35 UTC ---
Author: rguenth
Date: Fri Dec 16 14:31:14 2011
New Revision: 182401
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182401
Log:
2011-12-16 Richard Guenther <rguenther@suse.de>
PR lto/51572
* dwarf2out.c (gen_type_die_with_usage): Use the context of
the TYPE_DECL as well if it is file-scope.
* gcc.dg/lto/pr51572-1_0.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/lto/pr51572-1_0.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog