瀏覽代碼

* fixed a_load_reg_ref: the store size has to depend on the tosize,
not on the fromsize (fixes webtbs/tw10072, and hopefully also
resolves mantis #8121)

git-svn-id: trunk@9037 -

Jonas Maebe 18 年之前
父節點
當前提交
ad5ce1adf4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/sparc/cgcpu.pas

+ 1 - 1
compiler/sparc/cgcpu.pas

@@ -489,7 +489,7 @@ implementation
           end
         else
           begin
-            case fromsize of
+            case tosize of
               { signed integer registers }
               OS_8,
               OS_S8: