aboutsummaryrefslogtreecommitdiff
path: root/gcc/d
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-11-09 16:05:08 -0800
committerIan Lance Taylor <iant@golang.org>2022-11-09 16:06:10 -0800
commit219f82070903625d6bd8865b5ecb5f944bcee871 (patch)
tree31a72eaee329ef95b25e879fe9fa2405cf481fcf /gcc/d
parent965ce1ba392ca03c746cabb9ba73e66258557dcb (diff)
downloadgcc-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/d')
0 files changed, 0 insertions, 0 deletions