diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-11 12:56:59 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-11 12:56:59 -0400 |
commit | ba558a85d2d6ee518d9904ad41bdebada52749ac (patch) | |
tree | 6431612f6f423b96447d20569cee687f862f8580 | |
parent | 5582b006ea943b962f600013e1cd264110239765 (diff) | |
download | gcc-ba558a85d2d6ee518d9904ad41bdebada52749ac.zip gcc-ba558a85d2d6ee518d9904ad41bdebada52749ac.tar.gz gcc-ba558a85d2d6ee518d9904ad41bdebada52749ac.tar.bz2 |
(expand_builtin): Relegate sin and cos to ffast-math.
From-SVN: r7886
-rw-r--r-- | gcc/expr.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |