]> granicus.if.org Git - clang/commitdiff
Use proper alignment for i16/i32 on msp430. This fixes PR5815.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 19 Dec 2009 01:32:37 +0000 (01:32 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 19 Dec 2009 01:32:37 +0000 (01:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91739 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 63a71c7a22c5ff19c883efc5fd4bd36a2f2cab92..a58f396c5c22e23b5facf26d5ed8109404217ced 100644 (file)
@@ -1603,7 +1603,7 @@ namespace {
       IntPtrType = SignedShort;
       PtrDiffType = SignedInt;
       SigAtomicType = SignedLong;
-      DescriptionString = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8-n8:16";
+      DescriptionString = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16";
    }
     virtual void getTargetDefines(const LangOptions &Opts,
                                  std::vector<char> &Defines) const {