This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping: [PATCH] Fix -feliminate-dwarf2-dups ICE


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]