[gccgo] Taking slice of composite literal puts literal on heap

Ian Lance Taylor iant@google.com
Fri Oct 8 20:41:00 GMT 2010


This patch does two things.  The first is that taking the slice of a
composite literal requires putting the composite literal on the heap, so
that the slice has something permanent to point to.  The second is some
adjustments to #includes and names for the upcoming merge with gcc
mainline.  Committed to gccgo branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1935 bytes
Desc: slice
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101008/d08d1972/attachment.bin>


More information about the Gcc-patches mailing list