diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-02-11 21:15:26 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-02-11 21:15:26 +0000 |
commit | da52a0694bbe198dc9cf8d2977374bda2e812e60 (patch) | |
tree | 1064be970a17897c936184f584d00dfbac240a48 /gcc/builtins.c | |
parent | d58f65843b7c7c21dd75e49796dcf1c90be591b6 (diff) | |
download | gcc-da52a0694bbe198dc9cf8d2977374bda2e812e60.zip gcc-da52a0694bbe198dc9cf8d2977374bda2e812e60.tar.gz gcc-da52a0694bbe198dc9cf8d2977374bda2e812e60.tar.bz2 |
* builtins.c: Fix failures caused by commit of the wrong patch.
From-SVN: r62727
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 9478808..cdb9bb2 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -1668,7 +1668,7 @@ expand_errno_check (exp, target) { rtx lab; - if (flag_errno_math && errno_set && HONOR_NANS (GET_MODE (target))) + if (flag_errno_math && HONOR_NANS (GET_MODE (target))) { lab = gen_label_rtx (); @@ -1806,7 +1806,8 @@ expand_builtin_mathfn (exp, target, subtarget) return 0; } - expand_errno_check (exp, target); + if (errno_set) + expand_errno_check (exp, target); /* Output the entire sequence. */ insns = get_insns (); @@ -1903,7 +1904,8 @@ expand_builtin_mathfn_2 (exp, target, subtarget) return 0; } - expand_errno_check (exp, target); + if (errno_set) + expand_errno_check (exp, target); /* Output the entire sequence. */ insns = get_insns (); |