[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c

Chris Lattner lattner at cs.uiuc.edu
Fri Jul 16 19:19:55 PDT 2004



Changes in directory llvm-gcc/gcc:

llvm-expand.c updated: 1.48 -> 1.49

---
Log message:

Add more debug output


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

Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.48 llvm-gcc/gcc/llvm-expand.c:1.49
--- llvm-gcc/gcc/llvm-expand.c:1.48	Tue Jul  6 22:34:17 2004
+++ llvm-gcc/gcc/llvm-expand.c	Fri Jul 16 21:19:45 2004
@@ -4392,7 +4392,11 @@
   enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl);
   llvm_type *DestTy = llvm_type_get_from_tree(TREE_TYPE(exp));
 
-  assert(DECL_BUILT_IN_CLASS (fndecl) != BUILT_IN_MD);
+  if (DECL_BUILT_IN_CLASS (fndecl) != BUILT_IN_MD) {
+    fprintf(stderr, "UNKNOWN BUILTIN TYPE: \n");
+    debug_tree(fndecl);
+    abort();
+  }
 
   /* Generate library calls for functions that we can do so for. */
   switch (fcode) {





More information about the llvm-commits mailing list