diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-01 21:55:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-01 21:55:38 +0000 |
commit | b52a3881f04799d410f7ec70d022179c8d734459 (patch) | |
tree | eace57a9fb5df73173371815f0a0e1a5913a77a8 /gcc | |
parent | a53a893b4fe04ec966a4ec178ee8f394426a5dad (diff) | |
download | gcc-b52a3881f04799d410f7ec70d022179c8d734459.zip gcc-b52a3881f04799d410f7ec70d022179c8d734459.tar.gz gcc-b52a3881f04799d410f7ec70d022179c8d734459.tar.bz2 |
runtime, sync: use __atomic intrinsics instead of __sync
GCC has supported the __atomic intrinsics since 4.7. They are better
than the __sync intrinsics in that they specify a memory model and,
more importantly for our purposes, they are reliably implemented
either in the compiler or in libatomic.
Fixes https://gcc.gnu.org/PR52084
Reviewed-on: https://go-review.googlesource.com/c/160820
From-SVN: r268458
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index b3f7c1b..a9041c3 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -cbcc538adc5177778da5788d1101e16f106a1514 +c49ad6c4e66fa7ca992d947a5f0377090abadf6b The first line of this file holds the git revision number of the last merge done from the gofrontend repository. |