diff options
author | Richard Henderson <rth@redhat.com> | 2011-11-12 09:17:54 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-11-12 09:17:54 -0800 |
commit | f0409b19f51c7fe09b1fdc4584f17f6309f980cf (patch) | |
tree | 831e5faa18ef7a553143194a680da4d37f715452 /gcc/ChangeLog | |
parent | dab37c689ea85e9beb7d60fe4898deab048d00d2 (diff) | |
download | gcc-f0409b19f51c7fe09b1fdc4584f17f6309f980cf.zip gcc-f0409b19f51c7fe09b1fdc4584f17f6309f980cf.tar.gz gcc-f0409b19f51c7fe09b1fdc4584f17f6309f980cf.tar.bz2 |
builtins.c (expand_builtin_compare_and_swap): If target is const0, don't pass the target to expand_atomic_compare_and_swap.
* builtins.c (expand_builtin_compare_and_swap): If target is const0,
don't pass the target to expand_atomic_compare_and_swap.
(expand_builtin_atomic_compare_exchange): Likewise.
From-SVN: r181323
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a9a5d3..3f72d60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2011-11-12 Richard Henderson <rth@redhat.com> + * builtins.c (expand_builtin_compare_and_swap): If target is const0, + don't pass the target to expand_atomic_compare_and_swap. + (expand_builtin_atomic_compare_exchange): Likewise. + * config/sh/linux.h (TARGET_INIT_LIBFUNCS): New. * config/sh/sh.c (sh_init_sync_libfuncs): New. |