[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8
boger at us dot ibm.com
gcc-bugzilla@gcc.gnu.org
Thu Jan 25 21:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758
--- Comment #25 from boger at us dot ibm.com ---
A few other variations that enable it to work even with a power8 configuration:
Compiling with -fdisable-ipa-cp prevents the ICE.
OR
Using the //go:nosplit directive before the function identified in the error
message prevents the ICE.
OR making various source changes to the function in some cases allows it to
work.
for example, in function:
func (tools gccgoToolchain) gc(b *Builder, a *Action, archive string, importcfg
[]byte, asmhdr bool, gofiles []string) (ofile string, output []byte, err error)
Commenting out this loop prevents the error:
for _, f := range gofiles {
args = append(args, mkAbs(p.Dir, f))
}
More information about the Gcc-bugs
mailing list