<story><title>GCC 6.1 Released</title><url>https://gcc.gnu.org/ml/gcc/2016-04/msg00244.html</url></story><parent_chain><item><author>jason_slack</author><text>Honest question: on OS X, Apple has embraced clang and not gcc anymore. When I use linux clang is also available.&lt;p&gt;Can anyone chime in about how a developer would choose gcc over clang (and vice versa). I have to admit that even though I write in c++, I seldom pay attention to which compiler I would use for x vs y feature, etc. Compilers feel like a black-box to me. I don&amp;#x27;t go inside it.&lt;p&gt;Edit: I don&amp;#x27;t know about Windows, I know gcc is available. I haven&amp;#x27;t looked if clang is.&lt;p&gt;Edit 2: Intel also makes compilers, to which I own, but never use. I guess I feel like I am not doing anything specific to Intel</text></item></parent_chain><comment><author>brandmeyer</author><text>Right now, clang is missing several features that I care about, but most of the industry doesn&amp;#x27;t[1].  Clang is a 90% or maybe 95% solution, and my use cases aren&amp;#x27;t covered.  So I don&amp;#x27;t use it.  That said, I am grateful for the competition: GCC has definitely been getting better thanks to clang.&lt;p&gt;[1] Namely, -Wdouble-promotion, big-endian ARM interrupt handlers, -fstack-usage, -Og, -fno-delete-null-pointer-checks, -falign-functions</text></comment>
<story><title>GCC 6.1 Released</title><url>https://gcc.gnu.org/ml/gcc/2016-04/msg00244.html</url></story><parent_chain><item><author>jason_slack</author><text>Honest question: on OS X, Apple has embraced clang and not gcc anymore. When I use linux clang is also available.&lt;p&gt;Can anyone chime in about how a developer would choose gcc over clang (and vice versa). I have to admit that even though I write in c++, I seldom pay attention to which compiler I would use for x vs y feature, etc. Compilers feel like a black-box to me. I don&amp;#x27;t go inside it.&lt;p&gt;Edit: I don&amp;#x27;t know about Windows, I know gcc is available. I haven&amp;#x27;t looked if clang is.&lt;p&gt;Edit 2: Intel also makes compilers, to which I own, but never use. I guess I feel like I am not doing anything specific to Intel</text></item></parent_chain><comment><author>jcranmer</author><text>gcc generally provides somewhat better code than clang, both in runtime and in object size. Clang has traditionally done better at warnings and diagnostics, although gcc has definitely closed that space in the past few years (since 4.9 or so).</text></comment>