OSDN Git Service

* config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Mar 2003 23:35:11 +0000 (23:35 +0000)
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Mar 2003 23:35:11 +0000 (23:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64687 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.md

index c07cfb9..fd2f8fe 100644 (file)
@@ -1,5 +1,9 @@
 2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
 
+       * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
+
+2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
+
        * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
        writing .interrupt command.
        * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
index 7b202c4..3535a89 100644 (file)
          output_asm_insn (\"call\\t%1\", operands);
          return \"\";
        }
-      if (m68hc11_is_trap_symbol (operands[0]))
+      if (m68hc11_is_trap_symbol (operands[1]))
         return \"swi\";
       else
         return \"bsr\\t%1\";