diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-11-09 16:05:08 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-11-09 16:06:10 -0800 |
commit | 219f82070903625d6bd8865b5ecb5f944bcee871 (patch) | |
tree | 31a72eaee329ef95b25e879fe9fa2405cf481fcf /gcc/ada/sinput.ads | |
parent | 965ce1ba392ca03c746cabb9ba73e66258557dcb (diff) | |
download | gcc-219f82070903625d6bd8865b5ecb5f944bcee871.zip gcc-219f82070903625d6bd8865b5ecb5f944bcee871.tar.gz gcc-219f82070903625d6bd8865b5ecb5f944bcee871.tar.bz2 |
go: don't crash if __atomic_fetch_add functions are used
The Go frontend only generates __atomic_add_fetch, but in some cases
thost calls become __atomic_fetch_add.
Patch originally by Marc Poulhiès.
PR target/107581
* go-gcc.cc (Gcc_backend::Gcc_backend): Define
__atomic_fetch_add_{4,8}.
Diffstat (limited to 'gcc/ada/sinput.ads')
0 files changed, 0 insertions, 0 deletions