Prechádzať zdrojové kódy

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 4 rokov pred
rodič
commit
e6e49baed1

+ 1 - 1
compiler/riscv32/cpubase.pas

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

+ 1 - 1
compiler/riscv64/cpubase.pas

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