[LLVMbugs] [Bug 5431] New: gcc 4.1.2 build failure

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 8 11:09:26 PST 2009


           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: unassignedclangbugs at nondot.org
        ReportedBy: swildner at erpicon.de
                CC: llvmbugs at cs.uiuc.edu

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.c:2:1: note: previous definition is here
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.


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