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: [PATCH] [PR19090] Add -Wno-pointer-sign option


On Mon, 17 Jan 2005, Andi Kleen wrote:

> On Mon, Jan 17, 2005 at 07:12:58PM +0100, Michael Matz wrote:
> > Hi,
> > 
> > On Mon, 17 Jan 2005, Andi Kleen wrote:
> > 
> > > Well you could say that the test case already exists, since the
> > > warning is enabled by default and there is a test case for the warning.
> > > 
> > > Also from a quick look at the dejagnu docs there is "do-no-warning"
> > 
> > It's dg-bogus ;-)
> > 
> > The below test (which is an "inverted" conv-2.c) should does what's 
> > wanted.  Only quickly tested.
> 
> Ok thanks. Hopefully that will make Joseph happy.

The last patch version plus the testcase is OK for mainline.

(dg-bogus isn't actually necessary in such cases, as by default DejaGnu 
will FAIL if there are any unexpected diagnostics.  It is however 
necessary in conjunction with xfail to mark an undesired diagnostic as 
nevertheless expected to be there at present.)

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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