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

            Bug ID: 85909
           Summary: [MIPS] Inconsistent operand constraints error with
                    complex double inline asm operands and o32 ABI
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ma...@linux-mips.org
  Target Milestone: ---
            Target: mips*-*-*

Created attachment 44179
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44179&action=edit
Source to reproduce the problem

The program attached (a GDB test case) fails to build with the o32 ABI
(`-mips32r2 -mfp64'; fiddle with _MIPS_FPSET #ifdef to reproduce with
`-mfp32' too) reporting:

mips-fpregset-core.c: In function 'main':
mips-fpregset-core.c:66:3: error: inconsistent operand constraints in an 'asm'
   asm (
   ^~~

It builds just fine with the n32 and n64 ABIs and produces correct code.

Reply via email to