re PR go/72812 (reflect FAILs with Solaris as)
authorIan Lance Taylor <iant@google.com>
Fri, 5 Aug 2016 20:11:30 +0000 (20:11 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 5 Aug 2016 20:11:30 +0000 (20:11 +0000)
commit9dcd84ec7a7579bb062ef4768810a9d4dc9c3ca2
tree6e9e99eb92425975799f09503561a0f18d50e477
parent64d6d39969e4621e0b88f695e9b2fc6486d13e8f
re PR go/72812 (reflect FAILs with Solaris as)

PR go/72812
* go-gcc.cc (char_needs_encoding): New static function.
(needs_encoding, fetch_utf8_char): New static functions.
(encode_id): New static function.
(Gcc_backend::global_variable): Set asm name if the name is not
simple ASCII.
(Gcc_backend::implicit_variable): Likewise.
(Gcc_backend::implicit_variable_reference): Likewise.
(Gcc_backend::immutable_struct): Likewise.
(Gcc_backend::immutable_struct_reference): Likewise.
(Gcc_backend::function): Likewise.

From-SVN: r239179
gcc/go/ChangeLog
gcc/go/go-gcc.cc