소스 검색

* 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))}