diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-11 04:01:42 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-11 04:01:42 +0000 |
commit | 582d745ace98966f98be71826296bcba4491c3cd (patch) | |
tree | a01015034e7637e43c95e5386ce6b1d3c4aa4f9d /gcc/fold-const.c | |
parent | aae57ecf2ab04bac670933e791448321d7d902c9 (diff) | |
download | gcc-582d745ace98966f98be71826296bcba4491c3cd.tar.gz |
* fold-const.c (negate_mathfn_p): Add BUILT_IN_ERF.
testsuite:
* gcc.dg/torture/builtin-symmetric-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 6016a702d69..fedc3cad7e6 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -894,6 +894,7 @@ negate_mathfn_p (enum built_in_function code) CASE_FLT_FN (BUILT_IN_SINH): CASE_FLT_FN (BUILT_IN_TAN): CASE_FLT_FN (BUILT_IN_TANH): + CASE_FLT_FN (BUILT_IN_ERF): return true; default: |