[gccgo] Implement ...T

Ian Lance Taylor iant@google.com
Fri Jan 29 08:36:00 GMT 2010


The Go language recently picked up a new construct: you can specify
the type permitted for a varargs argument, which causes the caller to
pass a slice of that type rather than a struct converted to an empty
interface.  This patch implements that.  I reworked the varargs
support to lower varargs function calls to regular calls, rather than
doing everything when converting the function call to GENERIC.

Committed to gccgo branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 36516 bytes
Desc: ...T
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100129/8dea35d2/attachment.bin>


More information about the Gcc-patches mailing list