diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-12-29 15:08:32 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-12-29 15:52:23 -0800 |
commit | 62c3f75fd29e93054f3aeb8a623fd52c98c3db0b (patch) | |
tree | d0dc1cd7f4e0d529916835e554266da48fb10940 /gcc/loop-invariant.c | |
parent | e5acfcad98f3fa33e141f4e6bc06f7d7c13496e1 (diff) | |
download | gcc-62c3f75fd29e93054f3aeb8a623fd52c98c3db0b.zip gcc-62c3f75fd29e93054f3aeb8a623fd52c98c3db0b.tar.gz gcc-62c3f75fd29e93054f3aeb8a623fd52c98c3db0b.tar.bz2 |
compiler, libgo: don't pad sparc64-linux epollevent
Change the compiler to not add zero padding because of zero-sized
fields named "_", since those can't be referenced anyhow.
Change the sparc-linux64 epollevent struct to name the alignment
field "_", to avoid zero padding.
Fixes PR go/103847
PR go/103847
* godump.c (go_force_record_alignment): Name the alignment
field "_".
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/374914
Diffstat (limited to 'gcc/loop-invariant.c')
0 files changed, 0 insertions, 0 deletions