[LLVMbugs] [Bug 8541] New: Clang miscompiles libgcc's unwind-dw2.c

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 3 08:12:20 PDT 2010


           Summary: Clang miscompiles libgcc's unwind-dw2.c
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ed at 80386.nl
                CC: llvmbugs at cs.uiuc.edu

FreeBSD HEAD is currently shipped with this version of clang:

$ clang --version
FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007

In this thread, it is reported that OpenOffice crashes when libgcc_s.so.1 is
built with this version of Clang:


It turns out that this is due to some kind of miscompilation of unwind-dw2.c.
This is our version of unwind-dw2.c:


Although I realize this bug report may be too incomplete to be useful, but I'd
rather stick it here in Bugzilla to prevent it from getting lost.

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