https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103784
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ldarx 8,0,3 cmpd 0,8,9 bne 0,.L4 stdcx. 10,0,3 bne 0,.L4 Is a compare and exchange, that can't be right? Did you paste the right thing here?