Go patch committed: Rewrite handling of untyped constants

Ian Lance Taylor iant@google.com
Wed Mar 28 21:28:00 GMT 2012


This patch to the Go frontend rewrites the handling of untyped
constants.  This fixes various bugs when, e.g., using float or complex
constants in an integer context.  It unifies the code, and removes some
400 lines from the compiler.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline and 4.7 branch.

Ian

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


More information about the Gcc-patches mailing list