compiler: Accept out of range integer -> unicode conversions.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 Sep 2015 00:46:23 +0000 (00:46 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 2 Sep 2015 00:46:23 +0000 (00:46 +0000)
commit3d32e50634885e71fb89770452d2e505cc5ed646
treed35f1fc3146eb671bd7ecf797b5b7d6484018c0c
parentad47aff5c541cffd3ad733688945f9d1c05ae633
compiler: Accept out of range integer -> unicode conversions.

    When converting a signed or unsigned integer value into a constant
    string, if the integer does not fit into the Go "int" type, the string
    will become "\uFFFD."

    Fixes golang/go#11525.

    Reviewed-on: https://go-review.googlesource.com/13906

From-SVN: r227395
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc