[Bug c/53001] -Wfloat-conversion should be available to warn about floating point errors
jjcogliati-r1 at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Mon Apr 16 12:17:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001
--- Comment #2 from Joshua Cogliati <jjcogliati-r1 at yahoo dot com> 2012-04-16 12:16:45 UTC ---
Yes, it should also warn for non-constants, and also for other floating
decreases in accuracy such as:
float foo(double x) {
return x;
}
I should have time to create a patch for this before 4.8 goes into stage 3. Do
you think it needs a copyright assignment and if so what paperwork would you
need from my employer?
More information about the Gcc-bugs
mailing list