Go patch committed: Don't crash on invalid use of multiple results

Ian Lance Taylor iant@google.com
Fri Dec 24 15:33:00 GMT 2010


There were some cases in the Go frontend where an invalid use of a
function call returning multiple results could cause the compiler to
crash.  For example, it could happen when returning multiple results in
a function which returned an interface type.  This patch avoids the
crashes in invalid programs.  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: 922 bytes
Desc: crash
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101224/d75e9585/attachment.bin>


More information about the Gcc-patches mailing list