http://llvm.org/bugs/show_bug.cgi?id=4130
Summary: clang infloops on invalid C code
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ time gcc testcase-min.i
testcase-min.i:1: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âptep_get_and_clearâ
real 0m0.007s
user 0m0.004s
sys 0m0.008s
However clang infloops:
$ clang testcase-min.i
^C
Here is the testcase-min.i:
static inline __attribute__((always_inline)) pte_t ptep_get_and_clear(struct
mm_struct *mm, unsigned long addr, pte_t *ptep) {
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs