OSDN Git Service

Remove the types float and complex.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jan 2011 18:19:03 +0000 (18:19 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Jan 2011 18:19:03 +0000 (18:19 +0000)
commit48080209fa53b6ea88c86e9f445c431b4cd1e47b
tree27d8768fb1d25696d3c40b42535eb5e073c278da
parentbff898fbbe4358a4b7e337852df4d6043e0bd3f5
Remove the types float and complex.

Update to current version of Go library.

Update testsuite for removed types.

* go-lang.c (go_langhook_init): Omit float_type_size when calling
go_create_gogo.
* go-c.h: Update declaration of go_create_gogo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169098 138bc75d-0d04-0410-961f-82ee72b054a4
388 files changed:
gcc/go/ChangeLog
gcc/go/go-c.h
gcc/go/go-lang.c
gcc/go/gofrontend/export.cc
gcc/go/gofrontend/export.h
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/go.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h
gcc/testsuite/go.test/test/blank.go
gcc/testsuite/go.test/test/cmplx.go
gcc/testsuite/go.test/test/cmplxdivide1.go
gcc/testsuite/go.test/test/complit.go
gcc/testsuite/go.test/test/const1.go
gcc/testsuite/go.test/test/convlit.go
gcc/testsuite/go.test/test/decl.go
gcc/testsuite/go.test/test/declbad.go
gcc/testsuite/go.test/test/fixedbugs/bug006.go
gcc/testsuite/go.test/test/fixedbugs/bug007.go
gcc/testsuite/go.test/test/fixedbugs/bug010.go
gcc/testsuite/go.test/test/fixedbugs/bug011.go
gcc/testsuite/go.test/test/fixedbugs/bug035.go
gcc/testsuite/go.test/test/fixedbugs/bug047.go
gcc/testsuite/go.test/test/fixedbugs/bug080.go
gcc/testsuite/go.test/test/fixedbugs/bug109.go
gcc/testsuite/go.test/test/fixedbugs/bug167.go
gcc/testsuite/go.test/test/fixedbugs/bug193.go
gcc/testsuite/go.test/test/fixedbugs/bug206.go
gcc/testsuite/go.test/test/fixedbugs/bug220.go
gcc/testsuite/go.test/test/fixedbugs/bug230.go
gcc/testsuite/go.test/test/fixedbugs/bug238.go
gcc/testsuite/go.test/test/fixedbugs/bug248.dir/bug2.go
gcc/testsuite/go.test/test/fixedbugs/bug248.dir/bug3.go
gcc/testsuite/go.test/test/fixedbugs/bug299.go
gcc/testsuite/go.test/test/func.go
gcc/testsuite/go.test/test/func1.go
gcc/testsuite/go.test/test/interface/explicit.go
gcc/testsuite/go.test/test/iota.go
gcc/testsuite/go.test/test/ken/cplx0.go
gcc/testsuite/go.test/test/ken/cplx1.go
gcc/testsuite/go.test/test/ken/cplx3.go
gcc/testsuite/go.test/test/ken/cplx4.go
gcc/testsuite/go.test/test/ken/cplx5.go
gcc/testsuite/go.test/test/ken/robfunc.go
gcc/testsuite/go.test/test/ken/simpconv.go
gcc/testsuite/go.test/test/ken/slicearray.go
gcc/testsuite/go.test/test/ken/sliceslice.go
gcc/testsuite/go.test/test/literal.go
gcc/testsuite/go.test/test/map.go
gcc/testsuite/go.test/test/method1.go
gcc/testsuite/go.test/test/named.go
gcc/testsuite/go.test/test/nil.go
gcc/testsuite/go.test/test/recover2.go
gcc/testsuite/go.test/test/test0.go
gcc/testsuite/go.test/test/typeswitch.go
gcc/testsuite/go.test/test/zerodivide.go
libgo/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/archive/tar/reader_test.go
libgo/go/archive/tar/writer_test.go
libgo/go/archive/zip/reader_test.go
libgo/go/asn1/asn1.go
libgo/go/big/int_test.go
libgo/go/big/rat.go
libgo/go/big/rat_test.go
libgo/go/bufio/bufio.go
libgo/go/bufio/bufio_test.go
libgo/go/bytes/buffer.go
libgo/go/bytes/buffer_test.go
libgo/go/bytes/bytes.go
libgo/go/bytes/bytes_test.go
libgo/go/cmath/asin.go
libgo/go/cmath/cmath_test.go
libgo/go/cmath/conj.go
libgo/go/cmath/exp.go
libgo/go/cmath/isinf.go
libgo/go/cmath/isnan.go
libgo/go/cmath/log.go
libgo/go/cmath/pow.go
libgo/go/cmath/rect.go
libgo/go/cmath/sin.go
libgo/go/cmath/sqrt.go
libgo/go/cmath/tan.go
libgo/go/compress/flate/deflate.go
libgo/go/compress/flate/deflate_test.go
libgo/go/compress/flate/inflate.go
libgo/go/container/vector/intvector_test.go
libgo/go/container/vector/numbers_test.go
libgo/go/container/vector/stringvector_test.go
libgo/go/container/vector/vector_test.go
libgo/go/crypto/block/cipher.go
libgo/go/crypto/cipher/cbc.go [new file with mode: 0644]
libgo/go/crypto/cipher/cbc_aes_test.go [moved from libgo/go/crypto/block/cbc_aes_test.go with 76% similarity]
libgo/go/crypto/cipher/cfb.go [new file with mode: 0644]
libgo/go/crypto/cipher/cfb_test.go [new file with mode: 0644]
libgo/go/crypto/cipher/cipher.go [new file with mode: 0644]
libgo/go/crypto/cipher/common_test.go [new file with mode: 0644]
libgo/go/crypto/cipher/ctr.go [new file with mode: 0644]
libgo/go/crypto/cipher/ctr_aes_test.go [moved from libgo/go/crypto/block/ctr_aes_test.go with 74% similarity]
libgo/go/crypto/cipher/io.go [new file with mode: 0644]
libgo/go/crypto/cipher/ocfb.go [new file with mode: 0644]
libgo/go/crypto/cipher/ocfb_test.go [new file with mode: 0644]
libgo/go/crypto/cipher/ofb.go [new file with mode: 0644]
libgo/go/crypto/cipher/ofb_test.go [new file with mode: 0644]
libgo/go/crypto/elliptic/elliptic.go [new file with mode: 0644]
libgo/go/crypto/elliptic/elliptic_test.go [new file with mode: 0644]
libgo/go/crypto/hmac/hmac.go
libgo/go/crypto/hmac/hmac_test.go
libgo/go/crypto/openpgp/armor/armor.go [new file with mode: 0644]
libgo/go/crypto/openpgp/armor/armor_test.go [new file with mode: 0644]
libgo/go/crypto/openpgp/armor/encode.go [new file with mode: 0644]
libgo/go/crypto/openpgp/error/error.go [new file with mode: 0644]
libgo/go/crypto/openpgp/s2k/s2k.go [new file with mode: 0644]
libgo/go/crypto/openpgp/s2k/s2k_test.go [new file with mode: 0644]
libgo/go/crypto/rc4/rc4.go
libgo/go/crypto/rc4/rc4_test.go
libgo/go/crypto/rsa/pkcs1v15.go
libgo/go/crypto/tls/ca_set.go
libgo/go/crypto/tls/cipher_suites.go [new file with mode: 0644]
libgo/go/crypto/tls/common.go
libgo/go/crypto/tls/conn.go
libgo/go/crypto/tls/conn_test.go [new file with mode: 0644]
libgo/go/crypto/tls/generate_cert.go
libgo/go/crypto/tls/handshake_client.go
libgo/go/crypto/tls/handshake_client_test.go [new file with mode: 0644]
libgo/go/crypto/tls/handshake_messages.go
libgo/go/crypto/tls/handshake_messages_test.go
libgo/go/crypto/tls/handshake_server.go
libgo/go/crypto/tls/handshake_server_test.go
libgo/go/crypto/tls/key_agreement.go [new file with mode: 0644]
libgo/go/crypto/tls/prf.go
libgo/go/crypto/tls/prf_test.go
libgo/go/crypto/tls/tls.go
libgo/go/crypto/twofish/twofish.go [new file with mode: 0644]
libgo/go/crypto/twofish/twofish_test.go [new file with mode: 0644]
libgo/go/crypto/x509/x509.go
libgo/go/crypto/x509/x509_test.go
libgo/go/debug/dwarf/testdata/typedef.c
libgo/go/debug/dwarf/testdata/typedef.elf
libgo/go/debug/dwarf/testdata/typedef.macho
libgo/go/debug/dwarf/type_test.go
libgo/go/debug/elf/elf.go
libgo/go/debug/elf/file.go
libgo/go/debug/macho/file.go
libgo/go/debug/macho/macho.go
libgo/go/debug/pe/file.go
libgo/go/debug/pe/file_test.go
libgo/go/debug/proc/proc_nacl.go [deleted file]
libgo/go/debug/proc/regs_nacl_386.go [deleted file]
libgo/go/ebnf/ebnf.go
libgo/go/ebnf/ebnf_test.go
libgo/go/ebnf/parser.go
libgo/go/encoding/base32/base32.go [new file with mode: 0644]
libgo/go/encoding/base32/base32_test.go [new file with mode: 0644]
libgo/go/encoding/binary/binary.go
libgo/go/encoding/binary/binary_test.go
libgo/go/encoding/line/line.go [new file with mode: 0644]
libgo/go/encoding/line/line_test.go [new file with mode: 0644]
libgo/go/exec/exec_test.go
libgo/go/exec/lp_unix.go
libgo/go/exec/lp_windows.go
libgo/go/exp/4s/4s.go [deleted file]
libgo/go/exp/4s/5s.go [deleted file]
libgo/go/exp/4s/data.go [deleted file]
libgo/go/exp/4s/xs.go [deleted file]
libgo/go/exp/datafmt/datafmt.go
libgo/go/exp/datafmt/datafmt_test.go
libgo/go/exp/datafmt/parser.go
libgo/go/exp/draw/draw.go
libgo/go/exp/eval/bridge.go
libgo/go/exp/eval/compiler.go
libgo/go/exp/eval/eval_test.go
libgo/go/exp/eval/expr.go
libgo/go/exp/eval/expr1.go
libgo/go/exp/eval/scope.go
libgo/go/exp/eval/stmt.go
libgo/go/exp/eval/type.go
libgo/go/exp/eval/typec.go
libgo/go/exp/eval/value.go
libgo/go/exp/eval/world.go
libgo/go/exp/nacl/av/av.go [deleted file]
libgo/go/exp/nacl/av/event.go [deleted file]
libgo/go/exp/nacl/av/image.go [deleted file]
libgo/go/exp/nacl/srpc/client.go [deleted file]
libgo/go/exp/nacl/srpc/msg.go [deleted file]
libgo/go/exp/nacl/srpc/server.go [deleted file]
libgo/go/exp/ogle/cmd.go
libgo/go/exp/ogle/rtype.go
libgo/go/exp/spacewar/code.go [deleted file]
libgo/go/exp/spacewar/pdp1.go [deleted file]
libgo/go/exp/spacewar/spacewar.go [deleted file]
libgo/go/expvar/expvar.go
libgo/go/expvar/expvar_test.go
libgo/go/flag/export_test.go [new file with mode: 0644]
libgo/go/flag/flag.go
libgo/go/flag/flag_test.go
libgo/go/fmt/doc.go
libgo/go/fmt/fmt_test.go
libgo/go/fmt/format.go
libgo/go/fmt/print.go
libgo/go/fmt/scan.go
libgo/go/fmt/scan_test.go
libgo/go/fmt/stringer_test.go
libgo/go/go/ast/ast.go
libgo/go/go/ast/filter.go
libgo/go/go/ast/walk.go
libgo/go/go/doc/doc.go
libgo/go/go/parser/interface.go
libgo/go/go/parser/parser.go
libgo/go/go/parser/parser_test.go
libgo/go/go/printer/nodes.go
libgo/go/go/printer/printer.go
libgo/go/go/printer/printer_test.go
libgo/go/go/printer/testdata/comments.golden
libgo/go/go/printer/testdata/comments.input
libgo/go/go/printer/testdata/declarations.golden
libgo/go/go/printer/testdata/declarations.input
libgo/go/go/scanner/scanner.go
libgo/go/go/scanner/scanner_test.go
libgo/go/go/token/position.go [new file with mode: 0644]
libgo/go/go/token/position_test.go [new file with mode: 0644]
libgo/go/go/token/token.go
libgo/go/go/typechecker/scope.go
libgo/go/go/typechecker/typechecker.go
libgo/go/go/typechecker/typechecker_test.go
libgo/go/gob/codec_test.go
libgo/go/gob/decode.go
libgo/go/gob/decoder.go
libgo/go/gob/doc.go
libgo/go/gob/encode.go
libgo/go/gob/encoder.go
libgo/go/gob/encoder_test.go
libgo/go/gob/type.go
libgo/go/gob/type_test.go
libgo/go/hash/crc64/crc64.go
libgo/go/html/doc.go
libgo/go/html/entity.go
libgo/go/html/entity_test.go [new file with mode: 0644]
libgo/go/html/escape.go
libgo/go/html/parse.go [new file with mode: 0644]
libgo/go/html/parse_test.go [new file with mode: 0644]
libgo/go/html/token.go
libgo/go/html/token_test.go
libgo/go/http/client.go
libgo/go/http/fs.go
libgo/go/http/fs_test.go [new file with mode: 0644]
libgo/go/http/readrequest_test.go
libgo/go/http/request.go
libgo/go/http/response.go
libgo/go/http/response_test.go
libgo/go/http/serve_test.go [new file with mode: 0644]
libgo/go/http/server.go
libgo/go/http/testdata/file [new file with mode: 0644]
libgo/go/http/transfer.go
libgo/go/http/url.go
libgo/go/http/url_test.go
libgo/go/index/suffixarray/qsufsort.go [new file with mode: 0644]
libgo/go/index/suffixarray/suffixarray.go
libgo/go/index/suffixarray/suffixarray_test.go
libgo/go/io/io.go
libgo/go/io/io_test.go
libgo/go/json/decode.go
libgo/go/json/decode_test.go
libgo/go/json/encode.go
libgo/go/json/scanner_test.go
libgo/go/json/stream.go
libgo/go/json/stream_test.go
libgo/go/log/log.go
libgo/go/math/all_test.go
libgo/go/math/bits.go
libgo/go/math/const.go
libgo/go/math/exp.go
libgo/go/math/exp2.go
libgo/go/math/exp_port.go [new file with mode: 0644]
libgo/go/math/exp_test.go [new file with mode: 0644]
libgo/go/math/frexp.go
libgo/go/math/gamma.go
libgo/go/math/jn.go
libgo/go/math/ldexp.go
libgo/go/math/lgamma.go
libgo/go/math/logb.go
libgo/go/math/modf.go
libgo/go/math/pow.go
libgo/go/math/sqrt_port.go
libgo/go/net/dial.go
libgo/go/net/dnsclient.go
libgo/go/net/dnsname_test.go
libgo/go/net/fd.go
libgo/go/net/fd_windows.go
libgo/go/net/hosts.go
libgo/go/net/ipsock.go
libgo/go/net/net_test.go
libgo/go/net/port.go
libgo/go/net/resolv_windows.go
libgo/go/net/server_test.go
libgo/go/net/sock.go
libgo/go/net/tcpsock.go
libgo/go/net/textproto/reader.go
libgo/go/net/timeout_test.go
libgo/go/net/unixsock.go
libgo/go/netchan/common.go
libgo/go/netchan/export.go
libgo/go/netchan/import.go
libgo/go/netchan/netchan_test.go
libgo/go/os/env_windows.go
libgo/go/os/exec.go
libgo/go/os/file.go
libgo/go/os/inotify/inotify_linux.go [new file with mode: 0644]
libgo/go/os/inotify/inotify_linux_test.go [new file with mode: 0644]
libgo/go/os/os_test.go
libgo/go/os/path.go
libgo/go/os/path_test.go
libgo/go/path/match.go
libgo/go/path/path.go
libgo/go/path/path_test.go
libgo/go/path/path_unix.go [new file with mode: 0644]
libgo/go/path/path_windows.go [new file with mode: 0644]
libgo/go/rand/rand.go
libgo/go/rand/rand_test.go
libgo/go/rand/zipf.go
libgo/go/reflect/all_test.go
libgo/go/reflect/type.go
libgo/go/reflect/value.go
libgo/go/regexp/all_test.go
libgo/go/regexp/find_test.go
libgo/go/regexp/regexp.go
libgo/go/rpc/debug.go
libgo/go/rpc/server.go
libgo/go/runtime/chan_defs.go [new file with mode: 0644]
libgo/go/runtime/debug.go
libgo/go/runtime/debug/stack.go [new file with mode: 0644]
libgo/go/runtime/debug/stack_test.go [new file with mode: 0644]
libgo/go/runtime/extern.go
libgo/go/runtime/hashmap_defs.go [new file with mode: 0644]
libgo/go/runtime/iface_defs.go [new file with mode: 0644]
libgo/go/runtime/malloc_defs.go [new file with mode: 0644]
libgo/go/runtime/mheapmap32_defs.go [new file with mode: 0644]
libgo/go/runtime/mheapmap64_defs.go [new file with mode: 0644]
libgo/go/runtime/runtime_defs.go [new file with mode: 0644]
libgo/go/runtime/type.go
libgo/go/smtp/smtp.go
libgo/go/sort/search.go [new file with mode: 0644]
libgo/go/sort/search_test.go [new file with mode: 0644]
libgo/go/sort/sort.go
libgo/go/sort/sort_test.go
libgo/go/strconv/atob_test.go
libgo/go/strconv/atof.go
libgo/go/strconv/atof_test.go
libgo/go/strconv/ftoa.go
libgo/go/strconv/ftoa_test.go
libgo/go/strings/strings.go
libgo/go/strings/strings_test.go
libgo/go/syslog/syslog_test.go
libgo/go/template/format.go
libgo/go/template/template.go
libgo/go/template/template_test.go
libgo/go/testing/benchmark.go
libgo/go/testing/quick/quick.go
libgo/go/testing/quick/quick_test.go
libgo/go/testing/testing.go
libgo/go/time/format.go
libgo/go/time/sleep.go
libgo/go/time/sleep_test.go
libgo/go/time/tick.go
libgo/go/time/tick_test.go
libgo/go/utf8/string_test.go
libgo/go/utf8/utf8.go
libgo/go/utf8/utf8_test.go
libgo/go/websocket/client.go
libgo/go/websocket/websocket_test.go
libgo/go/xml/read.go
libgo/go/xml/read_test.go
libgo/go/xml/xml.go
libgo/go/xml/xml_test.go
libgo/mksysinfo.sh
libgo/runtime/go-reflect-call.c
libgo/runtime/go-reflect.c
libgo/runtime/go-type.h
libgo/runtime/malloc.goc
libgo/runtime/malloc.h
libgo/runtime/mgc0.c
libgo/runtime/mheap.c
libgo/syscalls/socket.go
libgo/syscalls/sysfile_posix.go