This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33135] [SH] -ffinite-math-only should not be on by default
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 01 Sep 2012 20:15:17 +0000
- Subject: [Bug target/33135] [SH] -ffinite-math-only should not be on by default
- Auto-submitted: auto-generated
- References: <bug-33135-4@http.gcc.gnu.org/bugzilla/>
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 ?