This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Debug formats on Linux
- To: <mrs at wrs dot com>
- Subject: Re: Debug formats on Linux
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 31 Oct 2000 16:39:53 +0000 (GMT)
- cc: <toon at moene dot indiv dot nluug dot nl>, <gcc at gcc dot gnu dot org>, <mark at codesourcery dot com>
On Mon, 30 Oct 2000 mrs@wrs.com wrote:
> Please try the below patch, and if it makes things work better...
> we can try and get it in.
>
> Doing diffs in dwarf2out.c.~1~:
> *** dwarf2out.c.~1~ Mon Oct 30 11:16:19 2000
> --- dwarf2out.c Mon Oct 30 11:17:23 2000
> *************** add_bound_info (subrange_die, bound_attr
> *** 8106,8111 ****
> --- 8106,8112 ----
> case VAR_DECL:
> case COMPONENT_REF:
> case COND_EXPR:
> + case INDIRECT_REF:
> /* ??? These types of bounds can be created by the Ada front end,
> and it isn't clear how to emit debug info for them. */
> break;
> --------------
With this patch (plus my patch to turn DWARF2 on by default on
i?86-pc-linux-gnu), the only regressions I now get are
FAIL: gcc.c-torture/unsorted/loop386.c, -O3 -g
(ICE in add_abstract_origin_attribute, at dwarf2out.c:8367)
FAIL: g77.f-torture/execute/19981119-0.f compilation, -O3 -g
UNTESTED: g77.f-torture/execute/19981119-0.f execution, -O3 -g
(ICE in add_bound_info, at dwarf2out.c:8115)
which are balanced by the two tests which using DWARF2 makes pass
(g++.ext/instantiate1.C lines 18 and 20).
--
Joseph S. Myers
jsm28@cam.ac.uk