]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: set PPC64's MAXWIDTH as other architectures
authorCherry Mui <cherryyz@google.com>
Fri, 3 Dec 2021 00:05:27 +0000 (19:05 -0500)
committerCherry Mui <cherryyz@google.com>
Fri, 3 Dec 2021 00:46:20 +0000 (00:46 +0000)
commit8da66a35cab2de4f7ce0215c47929be624eeb03d
tree8959d464b58ae1a566e2f94a2dc980295c6cda43
parent5f6552018d1ec920c3ca3d459691528f48363c3c
cmd/compile: set PPC64's MAXWIDTH as other architectures

PPC64's MAXWIDTH is set as 1<<60 whereas on other 64-bit
architetures it is set as 1<<50. Set to 1<<50 for consistency. The
toolchain cannot handle such large program anyway.

May fix PPC64 build.

Change-Id: Ic3972a089b2f14a96e4ded57ef218d763c924a6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/368955
Trust: Cherry Mui <cherryyz@google.com>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/ppc64/galign.go