Re: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase

2013-04-02 Thread Senthil Kumar Selvaraj
On Mon, Apr 01, 2013 at 06:46:29PM -0700, Mike Stump wrote: > On Apr 1, 2013, at 6:43 PM, Jason Merrill wrote: > > On 03/30/2013 02:23 AM, Senthil Kumar Selvaraj wrote: > >> I couldn't find a way to ask gcc to just generate DWARF (default > >> version) either. How should this be fixed? > > > > Ma

Re: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase

2013-04-02 Thread Jason Merrill
On 04/02/2013 09:07 AM, Senthil Kumar Selvaraj wrote: Ok, how about the following (tentative) patch? If -gdwarf- is specified without any argument, it picks DWARF 4 as the default. -gdwarf- looks a bit odd to me; I was thinking -gdwarf without the trailing -. Jason

Re: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase

2013-04-02 Thread Senthil Kumar Selvaraj
On Tue, Apr 02, 2013 at 11:09:12AM -0400, Jason Merrill wrote: > On 04/02/2013 09:07 AM, Senthil Kumar Selvaraj wrote: > >Ok, how about the following (tentative) patch? If -gdwarf- is > >specified without any argument, it picks DWARF 4 as the default. > > -gdwarf- looks a bit odd to me; I was thin