projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5582b00
)
(expand_builtin): Relegate sin and cos to ffast-math.
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 11 Aug 1994 16:56:59 +0000
(12:56 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 11 Aug 1994 16:56:59 +0000
(12:56 -0400)
From-SVN: r7886
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index
a657e82
..
06de199
100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-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)