http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52479
--- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-03-16 03:21:08 UTC --- There is no concrete definition of -ffast-math and users will have different expectations. Numerical programs for astrodynamics may expect precisions even for -ffast-math and OTOH there are many programs which don't take care of precisions at all and prefer sin&cos instead of sinf&cosf. I guess that the former doesn't make much sense for SH4A in the first place and for users of the latter with -ffast-math, the proposed change may be a bit surprising. I have no strong opinion for this, though. I also won't object to the suggested patch.