<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">"make test" now fails for the test: Lexer/11-27-2007-FloatLiterals.c<div><br></div><div>The test case:</div><div><br class="webkit-block-placeholder"></div><div><div><div><i>(kremenek@grue:Lexer)$ cat 11-27-2007-FloatLiterals.c </i></div><div>// RUN: clang %s -emit-llvm 2>&1 | grep 0x3BFD83C940000000 | count 2</div><div>// RUN: clang %s -emit-llvm 2>&1 | grep <b>0x46A3B8B5B5056E16</b> | count 2</div><div><br></div><div>float  F  = 1e-19f;</div><div>double D  = 2e32;</div><div>float  F2 = 01e-19f;</div><div>double D2 = 02e32;</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>The result of running clang:</div><div><br></div><div><i>(kremenek@grue:Lexer)$ clang -emit-llvm 11-27-2007-FloatLiterals.c </i></div><div>; ModuleID = 'foo'</div><div>target triple = "i686-apple-darwin9"</div><div>@F = global float 0x3BFD83C940000000<span class="Apple-tab-span" style="white-space:pre">         </span>; <float*> [#uses=0]</div><div>@D = global double <b>2.000000e+32</b><span class="Apple-tab-span" style="white-space:pre">         </span>; <double*> [#uses=0]</div><div>@F2 = global float 0x3BFD83C940000000<span class="Apple-tab-span" style="white-space:pre">             </span>; <float*> [#uses=0]</div><div>@D2 = global double <b>2.000000e+32</b><span class="Apple-tab-span" style="white-space:pre">                </span>; <double*> [#uses=0]</div><br></div><div><br class="webkit-block-placeholder"></div><div>Note that '<b>0x46A3B8B5B5056E16</b>' doesn't appear in the output, but '<b>2.000000e+32</b>' does (causing the test to fail).  Should the test case be updated, or this a bug?</div></div></body></html>