Go patch committed: Avoid crash, fix *&x when x is not addressable
Ian Lance Taylor
iant@google.com
Thu Feb 20 15:20:00 GMT 2014
This patch to the Go frontend avoids a compiler crash on invalid code.
It also fixes the case of *&x when x is not addressable--the expression
was being converted to x without checking, meaning that the compiler
would accept invalid code. Finally, an error message is fixed to have
correct punctuation. This is all from PR 60288. Bootstrapped and ran
Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1164 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140220/e81afb74/attachment.bin>
More information about the Gcc-patches
mailing list