From: Roger Sayle Date: Thu, 2 Dec 2004 21:03:28 +0000 (+0000) Subject: re PR target/9908 ([x86] wrong code generated for virtual method call with -masm... X-Git-Tag: releases/gcc-3.4.4~458 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94265a48cdc99cf848f78484e2cc0ffe49886b2;p=thirdparty%2Fgcc.git re PR target/9908 ([x86] wrong code generated for virtual method call with -masm-intel) PR target/9908 * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct Intel assembler syntax by using %A1 instead of %*%1. From-SVN: r91660 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aaf025b60883..09b825977038 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-12-02 Roger Sayle + + PR target/9908 + * config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct + Intel assembler syntax by using %A1 instead of %*%1. + 2004-12-02 Richard Henderson PR rtl-opt/15289 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 86ea88c63396..e8814cefb771 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18326,7 +18326,7 @@ { if (constant_call_address_operand (operands[1], QImode)) return "call\t%P1"; - return "call\t%*%1"; + return "call\t%A1"; } [(set_attr "type" "callv")]) @@ -18338,7 +18338,7 @@ { if (constant_call_address_operand (operands[1], QImode)) return "jmp\t%P1"; - return "jmp\t%*%1"; + return "jmp\t%A1"; } [(set_attr "type" "callv")])