diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-01-11 23:16:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-01-11 23:16:38 +0000 |
commit | 378b9abe569d030bbe33f74a55b55519da9bf4bb (patch) | |
tree | 26a52b4f0cb3e0afea37c0d4d34dc606b77009ec /gcc/tree-ssa-loop-ivopts.c | |
parent | 3ddf08b3b8ed5b0b0fe6c930eefb97228ae80caa (diff) | |
download | gcc-378b9abe569d030bbe33f74a55b55519da9bf4bb.zip gcc-378b9abe569d030bbe33f74a55b55519da9bf4bb.tar.gz gcc-378b9abe569d030bbe33f74a55b55519da9bf4bb.tar.bz2 |
compiler: pad structs ending with zero-sized field
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: r267861
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
0 files changed, 0 insertions, 0 deletions