Browse Source

* arm compiler can handled misaligned references

git-svn-id: trunk@6307 -
florian 18 years ago
parent
commit
986a73c12c
1 changed files with 1 additions and 1 deletions
  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);