[Patch, Fortran] Make -Wall no longer imply -Wcompare-reals

Tobias Burnus burnus@net-b.de
Sun Aug 26 21:39:00 GMT 2012


Dear all,

while -Wcompare-reals is a useful option to find bugs, practical 
experience and the discussion here and on c.l.f has shown that this 
option has too many false positives. Hence, it is not suitable for -Wall.

With patch, -Wall no longer implies -Wcompare-reals.

Build on x86-64-linux.
OK for the trunk?

Tobias

PS: I will update wiki/GFortran#news after the committal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wcompare-reals.diff
Type: text/x-patch
Size: 1625 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120826/8535ac6b/attachment.bin>


More information about the Fortran mailing list