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: Fix failure of gcc.dg/20010207-1.c


On Thu, Jan 17, 2002 at 02:01:02PM +0800, Billinghurst, David (CRTS) wrote:
> Test gcc.dg/20010207-1.c fails on cygwin with warning
> 
> cc1.exe: warning: `dwarf-2': unknown or unsupported -g option
> 
> I couldn't find a way to run the test on all i?86-*-* except
> i?86-pc-cygwin, so I modified the test to expect the warning.  
> 
> 2001-01-17  David Billinghurst <David.Billinghurst@riotinto.com>
> 
> 	* gcc.db/20010207-1.c:  Expect "dwarf-2: unkown or unsupported"
> 	warning on i?86-pc-cygwin

Now that dwarf-2 is the default on many common platforms, I think it should
be enough just to replace -O3 -gdwarf-2 with -O3 -g.

	Jakub


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