summaryrefslogtreecommitdiffstats
path: root/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-19 19:30:34 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-19 19:30:34 +0000
commit7f05340e7aa6cc098680e9cebf9b22d313d93e91 (patch)
tree7af02d8fec3c643ce7d7d78668269c6d7cfb822d /gcc/c-cppbuiltin.c
parentc08775b23aa09d7451f2f87533c3ccdb5096d762 (diff)
downloadppe42-gcc-7f05340e7aa6cc098680e9cebf9b22d313d93e91.tar.gz
ppe42-gcc-7f05340e7aa6cc098680e9cebf9b22d313d93e91.zip
* builtins.c (expand_errno_check): Assume that flag_errno_math
and HONOR_NANS have been tested before calling here. Only try to set errno ourselves if the decl can't throw an exception. (expand_builtin_mathfn): Move the code to stabilize the arg after the main switch, so that that its only done when needed. BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative. Don't modify the original expr when stabilizing the argument. (expand_builtin_mathfn_2): Likewise, move the code to stabilize the args after the main switch, and don't modify the orginal exp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68217 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud