diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-06-19 19:30:34 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-06-19 19:30:34 +0000 |
commit | 6dab8d4cdf065d4045132d01e9c2556bdcab4195 (patch) | |
tree | 7af02d8fec3c643ce7d7d78668269c6d7cfb822d /gcc/c-cppbuiltin.c | |
parent | cf8e4b78762b282387140a4cf54c880bbc87acd4 (diff) | |
download | gcc-6dab8d4cdf065d4045132d01e9c2556bdcab4195.zip gcc-6dab8d4cdf065d4045132d01e9c2556bdcab4195.tar.gz gcc-6dab8d4cdf065d4045132d01e9c2556bdcab4195.tar.bz2 |
builtins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS have been tested before calling here.
* 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.
From-SVN: r68217
Diffstat (limited to 'gcc/c-cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions