OSDN Git Service

* builtins.c (do_mpc_arg2): New.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jul 2009 17:46:30 +0000 (17:46 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jul 2009 17:46:30 +0000 (17:46 +0000)
commitc699fab884aeab5596ec5fc0d9e46f1f55ae3e76
tree4349ce005fc992ee956833590b2672bb085de620
parent782758e14b376bc835b3d636e72999a6d4739aa0
* builtins.c (do_mpc_arg2): New.
(fold_builtin_2): Fold builtin cpow.
* real.h (HAVE_mpc_pow): New.

testsuite:
* gcc.dg/torture/builtin-math-5.c: Add more cases.
* gcc.dg/torture/builtin-math-6.c: Likewise.  Depend on
effective target "mpc_pow".
* lib/target-supports.exp (check_effective_target_mpc_pow): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149716 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/real.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/builtin-math-5.c
gcc/testsuite/gcc.dg/torture/builtin-math-6.c
gcc/testsuite/lib/target-supports.exp