[Bug middle-end/105814] [12/13 Regression] 16 "=rm" use in inline-asm is rejected at -O0

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 2 04:35:20 GMT 2022


Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
           Keywords|                            |needs-bisection
   Target Milestone|---                         |12.2
          Component|target                      |middle-end
            Summary|16 "=rm" use in inline-asm  |[12/13 Regression] 16 "=rm"
                   |is rejected at -O0          |use in inline-asm is
                   |                            |rejected at -O0

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think it accidently worked in GCC 11.x. That is it would do a put it into a
pseduo register and then reload it into memory as needed.

As I mentioned clang/LLVM also rejects it at -O0.

More information about the Gcc-bugs mailing list