]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, cmd/cgo: align complex{64,128} like GCC
authorMatthew Dempsky <mdempsky@google.com>
Sun, 21 Feb 2016 10:28:37 +0000 (02:28 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 5 Oct 2016 17:44:27 +0000 (17:44 +0000)
commitf54c0db859867f415a0702c8ceaa30c1a8976b0b
tree6e92cbf9d57c120ac8c401366e255f0ec5dbdf19
parent30088ac9a391d8505a3e016f36aaa23170109f6f
cmd/compile, cmd/cgo: align complex{64,128} like GCC

complex64 and complex128 are treated like [2]float32 and [2]float64,
so it makes sense to align them the same way.

Change-Id: Ic614bcdcc91b080aeb1ad1fed6fc15ba5a2971f8
Reviewed-on: https://go-review.googlesource.com/19800
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
misc/cgo/test/complex.go [new file with mode: 0644]
src/cmd/cgo/gcc.go
src/cmd/cgo/out.go
src/cmd/compile/internal/gc/align.go