]> git.ipfire.org Git - thirdparty/gcc.git/commit
compiler: Use backend interface for numeric expressions.
authorChris Manghane <cmang@google.com>
Wed, 2 Oct 2013 19:22:07 +0000 (19:22 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 Oct 2013 19:22:07 +0000 (19:22 +0000)
commit002ee4d12f56b0164ef224cc8c6fad347b8d95c6
treee61073212ff346a00a7e58f9b6b0cc315482e7f9
parent99206ca90b8e53db1461366ac4ee4116a2673056
compiler: Use backend interface for numeric expressions.

* go-gcc.cc: Include "real.h" and "realmpfr.h".
(Backend::integer_constant_expression): New function.
(Backend::float_constant_expression): New function.
(Backend::complex_constant_expression): New function.

From-SVN: r203127
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/types.cc