[llvm-commits] [llvm] r100556 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Bill Wendling isanbard at gmail.com
Tue Apr 6 13:07:21 PDT 2010


Author: void
Date: Tue Apr  6 15:07:21 2010
New Revision: 100556

URL: http://llvm.org/viewvc/llvm-project?rev=100556&view=rev
Log:
Make this hack more specific to the Apple gcc 4.2 non-LLVM compiler.

Modified:
    llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=100556&r1=100555&r2=100556&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Tue Apr  6 15:07:21 2010
@@ -1564,7 +1564,7 @@
 public:
   // FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
   // fixed.
-#ifdef __GNUC__
+#if __GNUC__==4 && __GNUC_MINOR__==2 && defined(__APPLE__) && !defined(__llvm__)
   explicit __attribute__((__noinline__)) HandleSDNode(SDValue X)
 #else
   explicit HandleSDNode(SDValue X)





More information about the llvm-commits mailing list