http://llvm.org/bugs/show_bug.cgi?id=5431
Summary: gcc 4.1.2 build failure
Product: clang
Version: trunk
Platform: PC
URL: http://yoyodyne.ath.cx/tmp/moo.c
OS/Version: DragonFly BSD
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Hi everybody,
this test case (see URL) compiles using gcc (tested with 4.1.2 and 4.4.2) but
fails with clang:
zoot# clang -fno-color-diagnostics -o moo moo.c
moo.c:7:1: error: redefinition of 'moo'
moo(void)
^
moo.c:2:1: note: previous definition is here
moo(void)
^
2 diagnostics generated.
It's a simplified case of the definitions of exact_log2() and floor_log2() in
gcc 4.1.2's source on DragonFly.
Sascha
--
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