re PR go/68477 (error: type variant differs by TYPE_STRING_FLAG.)
authorIan Lance Taylor <iant@google.com>
Tue, 1 Dec 2015 04:45:53 +0000 (04:45 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 1 Dec 2015 04:45:53 +0000 (04:45 +0000)
commit6ea98dee208bef31e56452969bfa7e85d0dd3c36
tree164f98c4dab2ade3905c22958c2e0849f14c0c86
parent45285060c31a9ddc5c95ec09d339ab9308354e6c
re PR go/68477 (error: type variant differs by TYPE_STRING_FLAG.)

PR go/68477
* go-gcc.cc (Gcc_backend::string_constant_expression): Don't set
TYPE_STRING_FLAG on a variant type.

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