<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">hi,everyone.<br>the coes bellow not compiled by clang,but compiled by gcc.<br>#include <stdio.h><br>int main()<br>{<br>  double d = 0x1.0p514;<br>  printf("d = %f\n");<br>  return 0;<br>}<br>    <br>clang's output is :<br><br>[clang@FreeBSD_209 ~/test]> clang -o t ./frexp.c<br>Assertion failed: (dot == 0), function convertFromHexadecimalString, file APFloat.cpp, line 2156.<br>Stack dump:<br>0.      Program arguments: /usr/home/clang/llvm/Debug/bin/clang-cc -triple i386-unknown-freebsd7.2 -S -disable-free -main-file-name frexp.c --relocation-model static --disable-fp-elim --unwind-tables=0 --mcpu=pentium4 --fmath-errno=1 -fdiagnostics-show-option -o /tmp/cc-ha3RrR.s -x c ./frexp.c <br>1.      ./frexp.c:5:13: current parser token
 '0x1.0p514'<br>2.      ./frexp.c:4:1: parsing function body 'main'<br>3.      ./frexp.c:4:1: in compound statement ('{}')<br>clang: error: compiler command failed due to signal 6 (use -v to see invocation)<br><br>0x1.0p514 expresion has not been surpported yest.<br>The clang I use is compiled by I with the latest codes yestoday.<br>This problem is found while I use clang to build clangbsd project(http://wiki.freebsd.org/BuildingFreeBSDWithClang).<br>                                                                           
 zhuiyue<br></td></tr></table><br>


      <hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/">  好玩贺卡等你发,邮箱贺卡全新上线!</a>