On Fri, Mar 29, 2013 at 02:46:49PM -0400, Jason Merrill wrote: > On 03/28/2013 06:09 PM, Mike Stump wrote: > >Hum… I can't help but wonder if there was supposed to be code that checks to > >ensure dwarf is supported and the default before doing the entire test suite. > > That's what I thought, yes. And we don't want to specify -gdwarf-2 > explicitly, as now -gdwarf-4 is the default. > dwarf2.exp does check if DWARF is supported by compiling a test file with -gdwarf-2, but it doesn't check if it's the default.
I couldn't find a way to ask gcc to just generate DWARF (default version) either. How should this be fixed? Regards Senthil