RE: [PATCH][GCC 9] arm: Fix ICEs with compare-and-swap and -march=armv8-m.base [PR99977]

2022-04-06 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Alex Coplan > Sent: Thursday, March 31, 2022 5:20 PM > To: gcc-patches@gcc.gnu.org > Cc: Richard Earnshaw ; Kyrylo Tkachov > > Subject: [PATCH][GCC 9] arm: Fix ICEs with compare-and-swap and - > march=armv8-m.base [PR99977] > > Hi, > > This is a backport

[PATCH][GCC 9] arm: Fix ICEs with compare-and-swap and -march=armv8-m.base [PR99977]

2022-03-31 Thread Alex Coplan via Gcc-patches
Hi, This is a backport of the fix for PR99977 to the GCC 9 branch. The only case where the GCC 10 patch did not apply cleanly was on sync.md, where some of the context has changed, but the substance of the patch has not changed, it simply required applying by hand. Tested as follows: -