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: New dwarf-die[1-7] failures


> 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~


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