cmd/compile: -l=4 triggers "write barrier prohibited by caller; oneNewExtraM" #22342
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
It's complaining about the
mp.curg = gp
asignment in oneNewExtraM. This is a pointer assignment, and typeruntime.g
is not labeledgo:notinheap
.mstart is labeled
go:nowritebarrierrec
, and none of mstart1, newextram, or oneNewExtraM are labeledgo:yeswritebarrierrec
.I suspect there's also a compiler bug here that this isn't being detected at -l=0, but filing as a runtime bug first for investigation.
/cc @aclements
The text was updated successfully, but these errors were encountered: