https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58748

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-09-13
          Component|inline-asm                  |middle-end
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, the current code does:
                  {
                    putc ('-', asm_out_file);
                    output_addr_const (asm_out_file, operands[opnum]);
                  }


I think it should do:

                  {
                    fputs ("-(", asm_out_file);
                    output_addr_const (asm_out_file, operands[opnum]);
                    putc (')', asm_out_file);
                  }

Instead.

Reply via email to