From owner-freebsd-questions@FreeBSD.ORG Wed Jun 20 17:45:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3D49106564A for ; Wed, 20 Jun 2012 17:45:49 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy7-pub.bluehost.com (oproxy7.bluehost.com [IPv6:2605:dc00:100:2::a7]) by mx1.freebsd.org (Postfix) with SMTP id B52358FC08 for ; Wed, 20 Jun 2012 17:45:49 +0000 (UTC) Received: (qmail 1756 invoked by uid 0); 20 Jun 2012 17:45:49 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy7.bluehost.com with SMTP; 20 Jun 2012 17:45:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=USWuXbzZOGg9WdTAmJgWCXDCVj79JPdq3p8teNbcM7I=; b=XAYYtn4tXV+6o8IUn4hoXKogWdXcwitHZu94ieUaSpMvn4ICIOgG4cQIHJl3MmD5/p+kvMld0QsFlJTu4jpO/dfWhuoSJqciabbmVg+/dztkrx6fCYeqhX+8jrCOFINa; Received: from [24.8.180.234] (port=64031 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1ShOyS-0007TS-PA for freebsd-questions@freebsd.org; Wed, 20 Jun 2012 11:45:48 -0600 Date: Wed, 20 Jun 2012 11:45:49 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120620174549.GD23095@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <4FE19BFC.7030304@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: CLANG vs GCC tests of fortran/f2c program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 17:45:50 -0000 On Wed, Jun 20, 2012 at 12:14:09PM +0200, Wojciech Puchar wrote: > > > >And why you think it's not better then gcc? > > because - as you already should know - test shows otherwise. You just ignored everything Volodymyr Kostyrko said about the other factors that are also important for a compiler being considered "better". Good job. I have a hint to share with you, though: Ignoring an argument does not make it wrong. > > As well as FreeBSD running predictable with gcc anyway. . . . for some use cases, evidently including yours. In my case, Clang's stability and predictability is better than GCC's, and in some other cases it may be *much* better. In the cases where it isn't, that's a case of standards-noncompliant code in a port causing problems, and it is a problem that is being fixed prior to FreeBSD 10 release with Clang as the sole compiler in the base system (last I heard). This is what happens when you use a more standards-compliant compiler: you get more stable and predictable behavior. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]