compiler: Use MPC library for complex numbers.
authorIan Lance Taylor <iant@google.com>
Fri, 24 Oct 2014 05:01:50 +0000 (05:01 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 24 Oct 2014 05:01:50 +0000 (05:01 +0000)
commit5eda5bad3c455d499b6a3611b433f2945caa239d
treec692cb03790db22948d2d1d2c21226b54e7c9a25
parent3c7652863686230db5cb861ebfcbc600f10156e0
compiler: Use MPC library for complex numbers.

* go-gcc.cc (Gcc_backend::complex_constant_expression): Take one
mpc_t parameter instead of two mpfr_t parameters.

From-SVN: r216611
gcc/go/ChangeLog
gcc/go/go-gcc.cc
gcc/go/gofrontend/backend.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/parse.cc