builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
authorRoger Sayle <roger@eyesopen.com>
Fri, 7 Feb 2003 22:37:57 +0000 (22:37 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 7 Feb 2003 22:37:57 +0000 (22:37 +0000)
commit46847aa6e79a40d2d569c726a50dc920e6ef2d81
tree5831f8d64256959cde2af68fd1808297950ca51d
parentc48d6750f4d60f288eae97b09dc7e4e4a025b3d9
builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.

* 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.

From-SVN: r62551
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]