This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/85909] New: [MIPS] Inconsistent operand constraints error with complex double inline asm operands and o32 ABI
- From: "macro at linux-mips dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 May 2018 18:39:09 +0000
- Subject: [Bug target/85909] New: [MIPS] Inconsistent operand constraints error with complex double inline asm operands and o32 ABI
- Auto-submitted: auto-generated
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: macro@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.