[LLVMbugs] [Bug 5616] New: Microsoft specific integer suffix parsed incorrectly
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Nov 25 15:03:48 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5616
Summary: Microsoft specific integer suffix parsed incorrectly
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: mikhail.strelnikov at gmail.com
CC: llvmbugs at cs.uiuc.edu
Compilation error for correct suffix ("i64"):
$ echo "void foo() { (void)0x1i64; }" | clang-cc -fms-extensions
<stdin>:1:27: error: invalid suffix 'i64' on integer constant
void foo() { (void)0x1i64; }
^
1 diagnostic generated.
No compilation error for incorrect suffix ("i64u"):
$ echo "void foo() { (void)0x1i64u; }" | clang-cc -fms-extensions
$
See NumericLiteralParser::NumericLiteralParser
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list