This is the mail archive of the gcc-bugs@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]

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53001

--- Comment #27 from Joshua Cogliati <jjcogliati-r1 at yahoo dot com> ---
Created attachment 31097
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31097&action=edit
Patch to add -Wfloat-conversion option against trunk with new testcase and
detailed warnings

This uses a detailed warnings in the testcase.  I am not sure if this is a good
idea or not since it might get invalidated if the types change.  It bootstraps
and the new testcase works on x86_64-unknown-linux-gnu


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