This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping: [PATCH] Fix -feliminate-dwarf2-dups ICE
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 04 Oct 2003 09:03:05 -0700
- Subject: Re: Ping: [PATCH] Fix -feliminate-dwarf2-dups ICE
- References: <8B005C88-F076-11D7-A085-000393A91CAA@apple.com><614E6208-F5EA-11D7-A7CD-000393A91CAA@apple.com>
Devang Patel <dpatel@apple.com> writes:
> On Sep 26, 2003, at 4:09 PM, Devang Patel wrote:
>
> > We do not use debug hooks, to start new source file, for main input
> > file anymore. So ignoring first source file is wrong. Without this
> > patch we get ICE.
This is OK.
> > 2003-09-26 Devang Patel <dpatel@gcc.gnu.org>
> >
> > * dwarf2out.c (is_main_source): Remove variable.
> > (dwarf2out_start_source_file): Do not check is_main_source.
> > Do not reset is_main_source.
> > (dwarf2out_init): Do not initialize is_main_source.
> >
> > 2003-09-26 Devang Patel <dpatel@apple.com>
> >
> > * gcc.dg/debug/dwarf2-3.h: New test.
> > * gcc.dg/debug/dwarf2-3.c: New test case for
> > -feliminate-dwarf2-dups.
> >
> > OK for mainline?
--
- Geoffrey Keating <geoffk@geoffk.org>