"make test" now fails for the test: Lexer/11-27-2007-FloatLiterals.c
The test case: ([EMAIL PROTECTED]:Lexer)$ cat 11-27-2007-FloatLiterals.c // RUN: clang %s -emit-llvm 2>&1 | grep 0x3BFD83C940000000 | count 2 // RUN: clang %s -emit-llvm 2>&1 | grep 0x46A3B8B5B5056E16 | count 2 float F = 1e-19f; double D = 2e32; float F2 = 01e-19f; double D2 = 02e32; The result of running clang: ([EMAIL PROTECTED]:Lexer)$ clang -emit-llvm 11-27-2007-FloatLiterals.c ; ModuleID = 'foo' target triple = "i686-apple-darwin9" @F = global float 0x3BFD83C940000000 ; <float*> [#uses=0] @D = global double 2.000000e+32 ; <double*> [#uses=0] @F2 = global float 0x3BFD83C940000000 ; <float*> [#uses=0] @D2 = global double 2.000000e+32 ; <double*> [#uses=0]Note that '0x46A3B8B5B5056E16' doesn't appear in the output, but '2.000000e+32' does (causing the test to fail). Should the test case be updated, or this a bug?
_______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
