https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82553
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- The patch does only: +expand_memory_blockage (void) +{ + if (targetm.have_memory_blockage) + emit_insn (targetm.gen_memory_blockage ()); + else + expand_asm_memory_blockage (); +} So, if the target doesn't declare memory_blockage pattern, as is the case with rs6000, I really fail to see what could go wrong here.