[patch, fortran] Reduce Explosion of noise from -Wall
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Aug 23 02:40:00 GMT 2012
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
More information about the Fortran
mailing list