This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/45660] [4.5/4.6 Regression] ICE in dwarf2out_finish
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2010 09:48:19 -0000
- Subject: [Bug debug/45660] [4.5/4.6 Regression] ICE in dwarf2out_finish
- References: <bug-45660-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jakub at gcc dot gnu dot org 2010-09-14 09:48 -------
Subject: Bug 45660
Author: jakub
Date: Tue Sep 14 09:48:04 2010
New Revision: 164271
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164271
Log:
PR debug/45660
* dwarf2out.c (gen_decl_die): Call gen_type_die for origin before
gen_type_die for function/method return type.
* g++.dg/debug/pr45660.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/pr45660.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45660