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, fortran] Reduce Explosion of noise from -Wall


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


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