Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: -l=4 triggers "write barrier prohibited by caller; oneNewExtraM" #22342
It's complaining about the
mstart is labeled
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.
I attempted, and failed, to fix the general issue with losing function annotations during inlining in CL 41152 by disallowing inlining that would break function-level analysis. Besides not working, this was sort of an unfortunate approach. It would be much nicer if we could push the function annotations into inlining points and still analyze them correctly.