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 target/33135] [SH] -ffinite-math-only should not be on by default


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 ?


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