[llvm-commits] CVS: llvm/test/Programs/SingleSource/UnitTests/2003-05-12-MinIntProblem.c
Chris Lattner
lattner at cs.uiuc.edu
Mon May 12 10:02:01 PDT 2003
Changes in directory llvm/test/Programs/SingleSource/UnitTests:
2003-05-12-MinIntProblem.c added (r1.1)
---
Log message:
The optimizer is having problems with MININT apparently.
---
Diffs of the changes:
Index: llvm/test/Programs/SingleSource/UnitTests/2003-05-12-MinIntProblem.c
diff -c /dev/null llvm/test/Programs/SingleSource/UnitTests/2003-05-12-MinIntProblem.c:1.1
*** /dev/null Mon May 12 10:01:59 2003
--- llvm/test/Programs/SingleSource/UnitTests/2003-05-12-MinIntProblem.c Mon May 12 10:01:49 2003
***************
*** 0 ****
--- 1,10 ----
+ #include <stdio.h>
+
+ void foo(int X) {
+ if (X+1 < 0)
+ printf("success\n");
+ }
+ int main() {
+ foo(-2147483648);
+ }
+
More information about the llvm-commits
mailing list