[cfe-commits] r91739 - /cfe/trunk/lib/Basic/Targets.cpp
Anton Korobeynikov
asl at math.spbu.ru
Fri Dec 18 17:32:37 PST 2009
Author: asl
Date: Fri Dec 18 19:32:37 2009
New Revision: 91739
URL: http://llvm.org/viewvc/llvm-project?rev=91739&view=rev
Log:
Use proper alignment for i16/i32 on msp430. This fixes PR5815.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=91739&r1=91738&r2=91739&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Dec 18 19:32:37 2009
@@ -1603,7 +1603,7 @@
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 {
More information about the cfe-commits
mailing list