Date: Thu, 21 May 2015 15:04:51 +0200 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: freebsd-hackers@freebsd.org Subject: Re: Trying to use clang/head and XCC Message-ID: <20150521130451.GA2096@britannica.bec.de> In-Reply-To: <CAGHfRMAkT-iPX32RSdpq98shxGbujWH_HGpZ7oS=nZFrfEEtcg@mail.gmail.com> References: <CAMqLHRO%2BapPEpaKXgof9VN919xny2gRWY0_5F6eetgmdJ6Kv5Q@mail.gmail.com> <CAGHfRMAkT-iPX32RSdpq98shxGbujWH_HGpZ7oS=nZFrfEEtcg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 19, 2015 at 05:50:29PM -0700, NGie Cooper wrote: > Also, gcc emits different warnings because (IIRC) it analyzes code > that's been optimized whereas I believe clang does it beforehand > (please correct me if I'm wrong). More like "clang provides the same set of warnings independent of the optimizer" vs "gcc warnings trigger depending on the phase of the moon". Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150521130451.GA2096>