소스 검색

* arm compiler can handled misaligned references

git-svn-id: trunk@6307 -
florian 18 년 전
부모
커밋
986a73c12c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/cgobj.pas

+ 1 - 1
compiler/cgobj.pas

@@ -1138,7 +1138,7 @@ implementation
       begin
         intloadsize := packedbitsloadsize(sref.bitlen);
 
-{$ifdef cpurequiresproperalignment}
+{$if defined(cpurequiresproperalignment) and not defined(arm)}
         { may need to be split into several smaller loads/stores }
         if intloadsize <> sref.ref.alignment then
            internalerror(2006082011);