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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 7 00:32:43 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=8541

David Chisnall <csdavec at swan.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |csdavec at swan.ac.uk
            Version|2.8                         |3.2
         Resolution|FIXED                       |

--- Comment #15 from David Chisnall <csdavec at swan.ac.uk> 2013-01-07 02:32:43 CST ---
This has been reported as still broken in LLVM 3.2.  dim spent some time
bisecting and the commit that made it break in between 3.1 and 3.2 was a fairly
small change to one of the loop passes and doesn't look like it had anything to
do with the actual problem, which makes me suspect that it's something
(possibly in the unwind tables?) that is exposed by a particular code layout. 
Some other optimisation change likely hid it some time between 2.8 and 3.1. 
The other suggestion is that clang incorrectly implements one of the many
undocumented builtins that this file uses, in such a way that does not break
all of the time.

More information in this thread:

http://lists.freebsd.org/pipermail/freebsd-current/2012-December/038766.html

-- 
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