[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 27 11:29:04 PST 2005
Changes in directory llvm-gcc/gcc:
llvm-expand.c updated: 1.88 -> 1.89
---
Log message:
fix 2005-02-27-PlacementArrayNewCrash.cpp and PR529: http://llvm.cs.uiuc.edu/PR529 .
---
Diffs of the changes: (+2 -1)
llvm-expand.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.88 llvm-gcc/gcc/llvm-expand.c:1.89
--- llvm-gcc/gcc/llvm-expand.c:1.88 Sun Feb 27 12:20:15 2005
+++ llvm-gcc/gcc/llvm-expand.c Sun Feb 27 13:28:51 2005
@@ -4067,7 +4067,8 @@
}
/* If we have constant lower bound for the range of the type, get it. */
- if (TYPE_MIN_VALUE (domain) && host_integerp (TYPE_MIN_VALUE (domain), 0))
+ if (domain && TYPE_MIN_VALUE (domain) &&
+ host_integerp (TYPE_MIN_VALUE (domain), 0))
minelt = tree_low_cst (TYPE_MIN_VALUE (domain), 0);
/*
More information about the llvm-commits
mailing list