Go patch committed: Don't crash if tuple init redefines non-variable

Ian Lance Taylor iant@google.com
Tue Jan 4 22:10:00 GMT 2011

This patch to the Go frontend avoids a crash if a tuple initializer is
used to define a variable, but the definition is erroneous because the
name is already defined as something other than a variable.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1741 bytes
Desc: crash
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110104/213c477f/attachment.bin>

More information about the Gcc-patches mailing list