* builtins.c (do_mpc_arg1, fold_builtin_ccos): New.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 May 2009 18:08:10 +0000 (18:08 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 May 2009 18:08:10 +0000 (18:08 +0000)
commit239d491a26ab9937214d4eb2c521858ac12a5076
treed071f09b549350c8254096c5a5fc4f7fd1817db2
parent275b395f894f16ac389cd8c5799e374080d3b188
* builtins.c (do_mpc_arg1, fold_builtin_ccos): New.
(fold_builtin_cexp): Ensure we get a complex REAL_TYPE.
Evaluate constant arguments.
(fold_builtin_carg): Ensure we get a complex REAL_TYPE.
(fold_builtin_1): Likewise, also evaluate constant arguments.
Remove superfluous break.
(do_mpc_ckconv): New.
* real.h: Include mpc.h.
* toplev.c (print_version): Output MPC version info if available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147591 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/real.h
gcc/toplev.c