Przeglądaj źródła

* arm compiler can handled misaligned references

git-svn-id: trunk@6307 -
florian 18 lat temu
rodzic
commit
986a73c12c
1 zmienionych plików z 1 dodań i 1 usunięć
  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);