[RX] Fix PR 81821
Oleg Endo
oleg.endo@t-online.de
Thu Jan 11 15:08:00 GMT 2018
Hi,
The attached patch fixes PR 81821. Â It is the same as the patch
proposed in the PR. Â I have briefly checked it in a private application
that uses atomic variables and I think it's rather obvious.
I have added atomics support on RX in GCC 7 and that was an initial
bug. Â Thus I'd like to also apply it to the GCC 7 branch.
OK for trunk and GCC 7?
Cheers,
Oleg
gcc/ChangeLog:
* config/rx/rx.md (BW): New mode attribute.
(sync_lock_test_and_setsi): Add mode suffix to insn output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rx_pr81821.patch
Type: text/x-patch
Size: 657 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180111/13d795ce/attachment.bin>
More information about the Gcc-patches
mailing list