#LLVM #Clang16 vs. #GCC13 #Compiler Performance On #AMD 4th Gen #EPYC "Genoa"
Clang 16 yielded faster binaries on this AMD #Zen4 server (EPYC 9654 2P) by about 4%. It largely comes down though to the code-bases/workloads of most relevance to your needs/interests for whether #GCC or Clang is particularly better suited.
https://www.phoronix.com/review/amd-znver4-gcc13-clang16
#llvm #clang16 #gcc13 #compiler #amd #epyc #Zen4 #gcc
David Malcolm writes:
```For the last four releases of #GCC, I've been working on -fanalyzer, a static analysis pass that tries to identify various problems at compile-time, rather than at runtime. It performs "symbolic execution" of C source code—effectively simulating the behavior of the code along the various possible paths of execution through it (with some caveats that we'll discuss).
This article summarizes what's new with -fanalyzer in #GCC13 […]```
https://developers.redhat.com/articles/2023/05/31/improvements-static-analysis-gcc-13-compiler
David Malcolm writes:
```For the last four releases of #GCC, I've been working on -fanalyzer, a static analysis pass that tries to identify various problems at compile-time, rather than at runtime. It performs "symbolic execution" of C source code—effectively simulating the behavior of the code along the various possible paths of execution through it (with some caveats that we'll discuss).
This article summarizes what's new with -fanalyzer in #GCC13 […]```
https://developers.redhat.com/articles/2023/05/31/improvements-static-analysis-gcc-13-compiler
Andrew MacLeod – How we added support for the C++23 assume feature in #GCC
https://developers.redhat.com/articles/2023/02/02/support-c23-assume-feature-gcc
"[…] This article discusses how Ranger supports the new assume feature of the C++23 standard, which helps programmers optimize programs. […] Although #GCC13 does not have complete support for assume, we do provide a functional implementation for early C++23 adopters. Give it a try. […]"
"Two new language frontends have been added to GCC: Modula-2 and Rust. I think this is great news on both accounts: having a Wirth language in GCC fills my childhood heart with joy (though I do wish GNU Pascal can one day be revived and mainlined, as Pascal was the first non-BASIC language I learned). And Rust appears here to stay, so having more than just the one official compiler seemed all but inevitable. I think both languages make sense for GCC and am glad to see that they will be making the upcoming GCC 13.1.
Let's see how they fare on OpenBSD".
GCC now includes Modula-2 and Rust. Do they work on OpenBSD?
https://briancallahan.net/blog/20221219.html
#GCC #Rust "gccrs" Code Merged Into Mainline #GCC13
Following last week's approval with the GCC Rust v4 patches for them to be merged, all of the "gccrs" code was upstreamed this morning for GNU #Compiler Collection 13.
https://bit.ly/3Pmsm5Z