[llvm-commits] [dragonegg] r158012 - /dragonegg/trunk/src/Convert.cpp
Duncan Sands
baldrick at free.fr
Tue Jun 5 12:04:09 PDT 2012
Author: baldrick
Date: Tue Jun 5 14:04:09 2012
New Revision: 158012
URL: http://llvm.org/viewvc/llvm-project?rev=158012&view=rev
Log:
This is only available in gcc-4.7 or later.
Modified:
dragonegg/trunk/src/Convert.cpp
Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=158012&r1=158011&r2=158012&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Tue Jun 5 14:04:09 2012
@@ -4200,8 +4200,10 @@
case BUILT_IN_ADJUST_TRAMPOLINE:
return EmitBuiltinAdjustTrampoline(stmt, Result);
case BUILT_IN_ALLOCA: return EmitBuiltinAlloca(stmt, Result);
+#if (GCC_MINOR > 6)
case BUILT_IN_ALLOCA_WITH_ALIGN:
return EmitBuiltinAllocaWithAlign(stmt, Result);
+#endif
case BUILT_IN_BZERO: return EmitBuiltinBZero(stmt, Result);
case BUILT_IN_CONSTANT_P: return EmitBuiltinConstantP(stmt, Result);
case BUILT_IN_EXPECT: return EmitBuiltinExpect(stmt, Result);
More information about the llvm-commits
mailing list