r275240 - in /trunk/gcc/go/gofrontend: MERGE wb.cc
ian@gcc.gnu.org
ian@gcc.gnu.org
Sat Aug 31 03:07:00 GMT 2019
Author: ian
Date: Sat Aug 31 03:07:48 2019
New Revision: 275240
URL: https://gcc.gnu.org/viewcvs?rev=275240&root=gcc&view=rev
Log:
compiler: check for notinheap struct at each struct field
When generating write barriers, we were only checking for a notinheap
struct at the outermost struct. That mishandled the case of setting a
pointer to a notinheap struct as a field of another struct that is not
notinheap. This caused an invalid write barrier error when building
the 1.13 version of the runtime.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/192279
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/wb.cc
More information about the Gcc-cvs
mailing list