https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92921
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #1) > The pattern in inline asm is intentionally a black box, it can contain > anything and can be used for all kinds of purposes. So, doing any kind of > such transformations is a bad idea. I agree. LLVM tries to mimic GCC's inline-asm but falls over because it does not treat it as a black box as GCC does. This is why LLVM keeps on adding these "features". There are other "features" which LLVM adds to inline-asm to try to get better inline-asm but it falls over when porting good inline-asm from GCC to LLVM.