This is the mail archive of the gcc@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: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase


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


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