OSDN Git Service

* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Feb 2003 22:37:57 +0000 (22:37 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Feb 2003 22:37:57 +0000 (22:37 +0000)
commitfa426235d6507241e779257cae6776a616e03fb7
tree5831f8d64256959cde2af68fd1808297950ca51d
parent51482831f2b68c6d167f4e24147e8a678b2c2d1f
* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
(BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
(BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
* builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
builtin functions (and their __builtin_* variants).
* builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
(expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
when not optimizing.

* doc/extend.texi: Document new pow and atan2 builtins, and
their float and long double variants.  Realphabetize builtins.

* testsuite/gcc.dg/builtins-4.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62551 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtin-types.def
gcc/builtins.c
gcc/builtins.def
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-4.c [new file with mode: 0644]