Go patch committed: A type conversion of a constant need not be const
Ian Lance Taylor
iant@google.com
Thu Oct 10 00:17:00 GMT 2013
In Go a type conversion of a constant is not necessarily itself a
constant, as in []byte(nil). This patch fixes the Go frontend to
recognize that. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline. Will commit to 4.8
branch when it reopens.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1050 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131010/ee9930a2/attachment.bin>
More information about the Gcc-patches
mailing list