[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors

2013-09-20 Thread gcc at richardneill dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001 --- Comment #10 from Richard Neill --- Thank you for adding this - I will certainly find it useful! May I suggest that this warning be implicitly enabled by -Wextra, (even if it's not enabled by -Wall) ?

[Bug c/53603] abs() doesn't warn if argument is double, not even with -Wall -Wextra

2012-06-07 Thread gcc at richardneill dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53603 --- Comment #3 from Richard Neill 2012-06-07 14:41:10 UTC --- Thanks for your explanation. I didn't know about -Wconversion existing independently of -Wextra. Might I suggest a couple of things that arise: 1. It seems a bit strange to me that

[Bug c/53603] New: abs() doesn't warn if argument is double, not even with -Wall -Wextra

2012-06-07 Thread gcc at richardneill dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53603 Bug #: 53603 Summary: abs() doesn't warn if argument is double, not even with -Wall -Wextra Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRM

[Bug c/51952] New: Wish: -Wextra should warn on result of integer division being assigned to a float

2012-01-22 Thread gcc at richardneill dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51952 Bug #: 51952 Summary: Wish: -Wextra should warn on result of integer division being assigned to a float Classification: Unclassified Product: gcc Version: 4.5.4 Statu