[llvm-commits] [dragonegg] r128786 - /dragonegg/trunk/Constants.cpp
Duncan Sands
baldrick at free.fr
Sat Apr 2 23:18:53 PDT 2011
Author: baldrick
Date: Sun Apr 3 01:18:53 2011
New Revision: 128786
URL: http://llvm.org/viewvc/llvm-project?rev=128786&view=rev
Log:
Turn this check back off again: it still blows up.
Modified:
dragonegg/trunk/Constants.cpp
Modified: dragonegg/trunk/Constants.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Constants.cpp?rev=128786&r1=128785&r2=128786&view=diff
==============================================================================
--- dragonegg/trunk/Constants.cpp (original)
+++ dragonegg/trunk/Constants.cpp Sun Apr 3 01:18:53 2011
@@ -1137,9 +1137,10 @@
if (isInt64(TREE_TYPE(exp), true) && InitSize != TypeSize)
DieAbjectly("Constant too big for type!", exp);
}
- if (getTargetData().getABITypeAlignment(Init->getType()) * 8 >
- TYPE_ALIGN(TREE_TYPE(exp)))
- DieAbjectly("Constant over aligned!", exp);
+// FIXME: This check fails when building libdecnumber (self-host build).
+// if (getTargetData().getABITypeAlignment(Init->getType()) * 8 >
+// TYPE_ALIGN(TREE_TYPE(exp)))
+// DieAbjectly("Constant over aligned!", exp);
#endif
return Init;
More information about the llvm-commits
mailing list