From: Anton Korobeynikov Date: Sat, 19 Dec 2009 01:32:37 +0000 (+0000) Subject: Use proper alignment for i16/i32 on msp430. This fixes PR5815. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d7c2511a4d289bcbee6081a1804489234be0bfb;p=clang Use proper alignment for i16/i32 on msp430. This fixes PR5815. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91739 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 63a71c7a22..a58f396c5c 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -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 &Defines) const {