[LLVMbugs] [Bug 2131] New: clang -fsyntax only fires assertion on inline asm
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Mar 8 20:56:30 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=2131
Summary: clang -fsyntax only fires assertion on inline asm
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedbugs at nondot.org
ReportedBy: kremenek at cs.stanford.edu
CC: llvmbugs at cs.uiuc.edu
LLVM version: 48064
clang version:48082
For the following input, an assertion fires using "clang -fsyntax only":
int main( int argc, char **argv) {
__asm("#DEFINITION##define " "FOO" "\t%0" : : "n" ((unsigned int)(0x04)));
}
$ clang -fsyntax-only t.c
Assertion failed: (0 && "Unknown input constraint type!"), function
validateInputConstraint, file TargetInfo.cpp, line 186.
...
This input compiles fine with gcc.
--
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