https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107779
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- I think we'd need a target hook for the attempt to handle legacy code patterns and we should rewrite the asm text in a way properly using (added) input constraints to support symbol renaming. I would also suggest to diagnose any such "fixups" by default.