Explorar o código

* arm compiler can handled misaligned references

git-svn-id: trunk@6307 -
florian %!s(int64=18) %!d(string=hai) anos
pai
achega
986a73c12c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);