[Bug target/33135] [SH] -ffinite-math-only should not be on by default
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 1 20:15:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33135
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Last reconfirmed| |2012-09-01
Resolution|FIXED |
Ever Confirmed|0 |1
--- Comment #12 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-09-01 20:15:17 UTC ---
Although this has been closed, I've just discovered something that I believe
can go away:
gcc/common/sh/sh-common.c (sh_option_init_struct):
---
/* We can't meaningfully test TARGET_SH2E / TARGET_IEEE
here, so leave it to TARGET_OPTION_OVERRIDE to set
flag_finite_math_only. We set it to 2 here so we know if the user
explicitly requested this to be on or off. */
opts->x_flag_finite_math_only = 2;
----
TARGET_OPTION_OVERRIDE does not set 'flag_finite_math_only' any longer.
Kaz, would it be OK to remove the whole function 'sh_option_init_struct' from
gcc/common/sh/sh-common.c ?
More information about the Gcc-bugs
mailing list