compiler-cmm-PprC-sparc-alignment
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Tue, 29 Aug 2017 21:10:26 +0000 (22:10 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Tue, 29 Aug 2017 21:10:26 +0000 (22:10 +0100)
Gbp-Pq: Name compiler-cmm-PprC-sparc-alignment.patch

compiler/cmm/PprC.hs

index ce5a202ef9526d4e14ee5eeb0624bb652be0e325..327a3a8225ebcf04be87aee51b40107a6324513d 100644 (file)
@@ -1114,6 +1114,8 @@ cLoad expr rep
           bewareLoadStoreAlignment ArchMipsel   = True
           bewareLoadStoreAlignment (ArchARM {}) = True
           bewareLoadStoreAlignment ArchARM64    = True
+          bewareLoadStoreAlignment ArchSPARC    = True
+          bewareLoadStoreAlignment ArchSPARC64  = True
           -- Pessimistically assume that they will also cause problems
           -- on unknown arches
           bewareLoadStoreAlignment ArchUnknown  = True