This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: target/5760: -masm=intel [a.k.a. -mintel-syntax] generates incorrect x87 code
- From: jakub at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, kelleycook at comcast dot net, nobody at gcc dot gnu dot org
- Date: 25 Feb 2002 16:57:57 -0000
- Subject: Re: target/5760: -masm=intel [a.k.a. -mintel-syntax] generates incorrect x87 code
- Reply-to: jakub at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, kelleycook at comcast dot net, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: -masm=intel [a.k.a. -mintel-syntax] generates incorrect x87 code
State-Changed-From-To: open->analyzed
State-Changed-By: jakub
State-Changed-When: Mon Feb 25 08:57:56 2002
State-Changed-Why:
You haven't attached any patch.
Did you mean
--- gcc/config/i386/i386.c.jj Sun Feb 24 21:15:39 2002
+++ gcc/config/i386/i386.c Mon Feb 25 18:02:48 2002
@@ -5732,7 +5732,7 @@ print_operand (file, x, code)
/* 387 opcodes don't get size suffixes if the operands are
registers. */
- if (STACK_REG_P (x))
+ if (STACK_REG_P (x) || ASSEMBLER_DIALECT == ASM_INTEL)
return;
/* this is the size of op from size of operand */
?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5760