浏览代码

* a loadsize of 1 can never cause alignment problems in subsetref
routines

git-svn-id: trunk@7308 -

Jonas Maebe 18 年之前
父节点
当前提交
acad2913d6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/cgobj.pas

+ 1 - 0
compiler/cgobj.pas

@@ -1155,6 +1155,7 @@ implementation
 {$if not(defined(arm)) and not(defined(sparc))}
         { may need to be split into several smaller loads/stores }
         if (tf_requires_proper_alignment in target_info.flags) and
+           (intloadsize <> 1) and
            (intloadsize <> sref.ref.alignment) then
           internalerror(2006082011);
 {$endif not(defined(arm)) and not(defined(sparc))}