This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.7][SH] Binary compatibility with atomic_test_and_test_trueval != 1
Oleg Endo <oleg.endo@t-online.de> wrote:
> Attached is a slightly modified version of the patch from
> http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00085.html
>
> I have removed the signed char weirdo and adjusted the comment above
> TARGET_ATOMIC_TEST_AND_SET_TRUEVAL accordingly.
>
> Tested by compiling some test functions that use __atomic_test_and_set /
> __GCC_ATOMIC_TEST_AND_SET_TRUEVAL with various SH atomic option
> combinations and looking at the output asm.
>
> OK to apply to trunk?
OK.
Regards,
kaz