This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New dwarf-die[1-7] failures
- From: Jan Hubicka <jh at suse dot cz>
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>,David Edelsohn <dje at watson dot ibm dot com>, gcc-patches at gcc dot gnu dot org,gcc-regression at gcc dot gnu dot org
- Date: Fri, 9 Jan 2004 23:56:31 +0100
- Subject: Re: New dwarf-die[1-7] failures
- References: <200401040106.i0416RT34600@makai.watson.ibm.com> <20040109164745.GC1964@kam.mff.cuni.cz> <20040109224534.GB5489@redhat.com>
> On Fri, Jan 09, 2004 at 05:47:45PM +0100, Jan Hubicka wrote:
> > + /* { dg-options "-O2 -gdwarf-2 -dA" } */
>
> Isn't this redundant with
>
> > + "additional_flags=-gdwarf-2"]
>
> This?
These additional flags go only for compiling trivial.c that is used to
detect presence of dwarf-2 (this is cut&paste from code handling debug
formats). To additionally pass it into each testcase i think I would
have to massage dg-runtest implementation similarly as debug does with
gcc-dg-debug-runtest as "dg-options" overwrite whatever I pass to it.
Alternativly I can lappend -gdwarf-2 into DEFAULT_OPTIONS so at least
testcase not overwriting dg-options will get -gdwarf-2 automatically.
Honza
>
>
> r~