From owner-freebsd-current@FreeBSD.ORG Mon Jan 7 08:10:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21AFABD6; Mon, 7 Jan 2013 08:10:44 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from fep15.mx.upcmail.net (fep15.mx.upcmail.net [62.179.121.35]) by mx1.freebsd.org (Postfix) with ESMTP id D596CE3; Mon, 7 Jan 2013 08:10:42 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep15-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130107081034.NJYV2598.viefep15-int.chello.at@edge04.upcmail.net>; Mon, 7 Jan 2013 09:10:34 +0100 Received: from mole.fafoe.narf.at ([80.109.55.137]) by edge04.upcmail.net with edge id kwAa1k00f2xdvHc04wAaPG; Mon, 07 Jan 2013 09:10:34 +0100 X-SourceIP: 80.109.55.137 Received: by mole.fafoe.narf.at (Postfix, from userid 1001) id 5569C6D47C; Mon, 7 Jan 2013 09:10:34 +0100 (CET) Date: Mon, 7 Jan 2013 09:10:34 +0100 From: Stefan Farfeleder To: David Chisnall Subject: Re: clang 3.2 RC2 miscompiles libgcc? Message-ID: <20130107081033.GA1446@mole.fafoe.narf.at> References: <20121227150724.GA1431@mole.fafoe.narf.at> <50DC65F5.6060004@freebsd.org> <50E0BD66.4070609@FreeBSD.org> <20130102135950.GA1464@mole.fafoe.narf.at> <20130104154940.GD1430@mole.fafoe.narf.at> <20130106141708.GA1418@mole.fafoe.narf.at> <50E9AAF4.209@freebsd.org> <78AC11F6-7AAE-449D-9ED1-DB5B207152DA@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78AC11F6-7AAE-449D-9ED1-DB5B207152DA@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, Dimitry Andric , Nathan Whitehorn X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 08:10:44 -0000 On Sun, Jan 06, 2013 at 04:51:11PM +0000, David Chisnall wrote: > On 6 Jan 2013, at 16:48, Nathan Whitehorn wrote: > > > No. It's completely broken at all optimization levels. There do not > > appear to be any flags that change the behavior. Building unwind-dw2.c > > either with gcc or with the previous import of clang in our tree does > > fix it, however. > > Do you have an LLVM PR# for this that I can follow? There's http://llvm.org/bugs/show_bug.cgi?id=8541 which I think should be reopened. Stefan