[cfe-commits] r54059 - /cfe/trunk/test/CodeGen/long-double-x86.c

Daniel Dunbar daniel at zuster.org
Fri Jul 25 13:54:30 PDT 2008


Author: ddunbar
Date: Fri Jul 25 15:54:30 2008
New Revision: 54059

URL: http://llvm.org/viewvc/llvm-project?rev=54059&view=rev
Log:
Fix long double test case
 - Had wrong sizeof(long double) encoded into test case
 - Results now agree with llvm-gcc

Modified:
    cfe/trunk/test/CodeGen/long-double-x86.c

Modified: cfe/trunk/test/CodeGen/long-double-x86.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/long-double-x86.c?rev=54059&r1=54058&r2=54059&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/long-double-x86.c (original)
+++ cfe/trunk/test/CodeGen/long-double-x86.c Fri Jul 25 15:54:30 2008
@@ -1,4 +1,4 @@
 // RUN: clang %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep x86_fp80
 
 long double x = 0;
-int checksize[sizeof(x) == 12 ? 1 : -1];
+int checksize[sizeof(x) == 16 ? 1 : -1];





More information about the cfe-commits mailing list