expressions.cc
471 KB
-
compiler: pad structs ending with zero-sized field · 378b9abe
For a struct with zero-sized last field, the address of the field falls out of the object boundary, which confuses the garbage collector. Pad an extra byte in this case. Reviewed-on: https://go-review.googlesource.com/c/157557 From-SVN: r267861Ian Lance Taylor committed