[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 2 20:34:43 PST 2005
Changes in directory llvm-gcc/gcc:
llvm-expand.c updated: 1.75 -> 1.76
---
Log message:
Fix PR481: http://llvm.cs.uiuc.edu/PR481
---
Diffs of the changes: (+2 -0)
Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.75 llvm-gcc/gcc/llvm-expand.c:1.76
--- llvm-gcc/gcc/llvm-expand.c:1.75 Sun Jan 2 15:08:34 2005
+++ llvm-gcc/gcc/llvm-expand.c Sun Jan 2 22:34:28 2005
@@ -5292,6 +5292,8 @@
case FUNCTION_DECL:
case RESULT_DECL:
if (DECL_LLVM(exp) == 0) {
+ if (errorcount || sorrycount)
+ return llvm_constant_get_null(Ty);
debug_tree(exp);
DECL_LLVM(exp);
abort();
More information about the llvm-commits
mailing list