Date: Wed, 20 Jun 2012 11:45:49 -0600 From: Chad Perrin <perrin@apotheon.com> To: freebsd-questions@freebsd.org Subject: Re: CLANG vs GCC tests of fortran/f2c program Message-ID: <20120620174549.GD23095@hemlock.hydra> In-Reply-To: <alpine.BSF.2.00.1206201212150.23787@wojtek.tensor.gdynia.pl> References: <CA%2BtpaK2ONz2wD7Zb4Hi9W6kk7RR8_VZR8YJTj9jAEj_b4_sDaQ@mail.gmail.com> <alpine.BSF.2.00.1206200716330.71176@wojtek.tensor.gdynia.pl> <CA%2BtpaK0XUEBpT7SiwsY=%2BwEPgOd=TAh=Eh7fwim1Odq1jUqZag@mail.gmail.com> <alpine.BSF.2.00.1206200854450.71564@wojtek.tensor.gdynia.pl> <CA%2BtpaK0S=tsYfUhuL6BsUPu7u%2BtB47gMGGTp6Abevh0_1CaayA@mail.gmail.com> <alpine.BSF.2.00.1206201024140.40030@wojtek.tensor.gdynia.pl> <CAH3a3KWy9Qzf5BOUGWM3TLZe5XV3gKz0WhWQJ1q8j9F3FV7hYg@mail.gmail.com> <alpine.BSF.2.00.1206201054480.23394@wojtek.tensor.gdynia.pl> <4FE19BFC.7030304@gmail.com> <alpine.BSF.2.00.1206201212150.23787@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120620174549.GD23095>