Changes in directory llvm/lib/Target/CBackend:

CBackend.cpp updated: 1.343 -> 1.343.2.1
---
Log message:

Merge from mainline
PR1413: http://llvm.org/PR1413 


---
Diffs of the changes:  (+5 -0)

 CBackend.cpp |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/lib/Target/CBackend/CBackend.cpp
diff -u llvm/lib/Target/CBackend/CBackend.cpp:1.343 
llvm/lib/Target/CBackend/CBackend.cpp:1.343.2.1
--- llvm/lib/Target/CBackend/CBackend.cpp:1.343 Wed May  2 21:57:13 2007
+++ llvm/lib/Target/CBackend/CBackend.cpp       Mon May 14 23:57:33 2007
@@ -1398,6 +1398,11 @@
       << "#define __ATTRIBUTE_DTOR__\n"
       << "#define LLVM_ASM(X)\n"
       << "#endif\n\n";
+  
+  Out << "#if __GNUC__ < 4 /* Old GCC's, or compilers not GCC */ \n"
+      << "#define __builtin_stack_save() 0   /* not implemented */\n"
+      << "#define __builtin_stack_restore(X) /* noop */\n"
+      << "#endif\n\n";
 
   // Output target-specific code that should be inserted into main.
   Out << "#define CODE_FOR_MAIN() /* Any target-specific code for main()*/\n";



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to