vs. Performance On 4th Gen "Genoa"
Clang 16 yielded faster binaries on this AMD 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 or Clang is particularly better suited.
phoronix.com/review/amd-znver4

#llvm #clang16 #gcc13 #compiler #amd #epyc #Zen4 #gcc

Last updated 1 year ago

Thorsten Leemhuis (1/4) · @kernellogger
1726 followers · 1245 posts · Server fosstodon.org

David Malcolm writes:

```For the last four releases of , 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 […]```

developers.redhat.com/articles

#gcc #gcc13

Last updated 1 year ago

Thorsten Leemhuis (1/4) · @kernellogger
1833 followers · 1408 posts · Server fosstodon.org

David Malcolm writes:

```For the last four releases of , 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 […]```

developers.redhat.com/articles

#gcc #gcc13

Last updated 1 year ago

Thorsten Leemhuis (1/4) · @kernellogger
1476 followers · 563 posts · Server fosstodon.org

Andrew MacLeod – How we added support for the C++23 assume feature in

developers.redhat.com/articles

"[…] This article discusses how Ranger supports the new assume feature of the C++23 standard, which helps programmers optimize programs. […] Although does not have complete support for assume, we do provide a functional implementation for early C++23 adopters. Give it a try. […]"

#gcc #gcc13

Last updated 2 years ago

JoaquĂ­n Herrero · @joakinen
78 followers · 117 posts · Server bsd.network

"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?
briancallahan.net/blog/2022121

#gcc13 #openbsd

Last updated 2 years ago

"gccrs" Code Merged Into Mainline
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 Collection 13.
bit.ly/3Pmsm5Z

#compiler #gcc13 #rust #gcc

Last updated 2 years ago