Explorar o código

Add A_CALL to the list of instructions considered as a calljmp, even though it is a pseudo-instruction, fixes a long list of -O3 and -O4 testsuite failures

git-svn-id: trunk@49468 -
pierre %!s(int64=4) %!d(string=hai) anos
pai
achega
e6e49baed1
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      compiler/riscv32/cpubase.pas
  2. 1 1
      compiler/riscv64/cpubase.pas

+ 1 - 1
compiler/riscv32/cpubase.pas

@@ -379,7 +379,7 @@ implementation
       begin
       begin
        is_calljmp:=false;
        is_calljmp:=false;
         case o of
         case o of
-          A_JAL,A_JALR,A_Bxx:
+          A_JAL,A_JALR,A_Bxx,A_CALL:
             is_calljmp:=true;
             is_calljmp:=true;
           else
           else
             ;
             ;

+ 1 - 1
compiler/riscv64/cpubase.pas

@@ -390,7 +390,7 @@ implementation
       begin
       begin
        is_calljmp:=false;
        is_calljmp:=false;
         case o of
         case o of
-          A_JAL,A_JALR,A_Bxx:
+          A_JAL,A_JALR,A_Bxx,A_CALL:
             is_calljmp:=true;
             is_calljmp:=true;
           else
           else
             ;
             ;