(expand_builtin): Relegate sin and cos to ffast-math.

From-SVN: r7886
This commit is contained in:
Richard Kenner 1994-08-11 12:56:59 -04:00
parent 5582b006ea
commit ba558a85d2
1 changed files with 3 additions and 0 deletions

View File

@ -6845,6 +6845,9 @@ expand_builtin (exp, target, subtarget, mode, ignore)
case BUILT_IN_SIN:
case BUILT_IN_COS:
/* Treat these like sqrt, but only if the user asks for them. */
if (! flag_fast_math)
break;
case BUILT_IN_FSQRT:
/* If not optimizing, call the library function. */
if (! optimize)