This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Reduce Explosion of noise from -Wall
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: Tobias Burnus <burnus at net-b dot de>, fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Aug 2012 19:40:09 -0700
- Subject: Re: [patch, fortran] Reduce Explosion of noise from -Wall
- References: <20120821212234.GA9677@troutmask.apl.washington.edu> <Prayer.1.3.5.1208220904430.9306@hermes-1.csi.cam.ac.uk> <5034A3CD.9020408@net-b.de> <50354566.1050109@netcologne.de>
On Wed, Aug 22, 2012 at 10:47:34PM +0200, Thomas Koenig wrote:
> Am 22.08.2012 11:18, schrieb Tobias Burnus:
>
> >Regarding -Wcompare-real, I wonder whether it makes sense to either
> >ignore comparisions against zero or to put them into a different flag
> >(-Wcompare-real-zero);
>
> Here is a patch to not warn for comparisons against zero.
> Regression-tested, also tested with make info and make dvi.
>
> OK for trunk?
>
I would rather see the -Wcompare-real option removed
from -Wall. The patch does nothing for the 158 warnings
for comparison with ONE in BLAS. This, of course, is
just my opinion and you're moe than welcomed to ignore
it.
--
Steve