[llvm-commits] [llvm] r40451 - /llvm/trunk/test/CFrontend/exact-div-expr.c

Chandler Carruth chandlerc at gmail.com
Mon Jul 23 15:42:15 PDT 2007


Author: chandlerc
Date: Mon Jul 23 17:42:15 2007
New Revision: 40451

URL: http://llvm.org/viewvc/llvm-project?rev=40451&view=rev
Log:
Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.

Modified:
    llvm/trunk/test/CFrontend/exact-div-expr.c

Modified: llvm/trunk/test/CFrontend/exact-div-expr.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/exact-div-expr.c?rev=40451&r1=40450&r2=40451&view=diff

==============================================================================
--- llvm/trunk/test/CFrontend/exact-div-expr.c (original)
+++ llvm/trunk/test/CFrontend/exact-div-expr.c Mon Jul 23 17:42:15 2007
@@ -1,6 +1,6 @@
 // RUN: %llvmgcc -S %s -o - -O | grep ashr
 // RUN: %llvmgcc -S %s -o - -O | not grep sdiv
 
-int test(int *A, int *B) {
+long long test(int *A, int *B) {
   return A-B;
 }





More information about the llvm-commits mailing list