[gccgo] Lower type conversion of string constant

Ian Lance Taylor iant@google.com
Tue Jun 22 18:20:00 GMT 2010


When a string constant is converted to a []byte or []int, the compiler
can do the conversion at compile time rather than calling a function.
This patch implements that.  Committed to gccgo branch.

Ian

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


More information about the Gcc-patches mailing list