Hacker News with Generative AI: GCC

GCC Patches Posted for Half-Century Old Algol 68 Programming Language (phoronix.com)
Mere hours into 2025 and some news I didn't expect to be writing about... An Oracle engineer has posted a set of patches implementing an ALGOL 68 programming language front-end for the GNU Compiler Collection (GCC). These are work-in-progress patches for the half century old niche programming language.
Rules to avoid common extended inline assembly mistakes (nullprogram.com)
GCC and Clang inline assembly is an interface between high and low level programming languages. It is subtle and treacherous. Many are ensnared in its traps, usually unknowingly. As such, the asm keyword is essentially the unsafe keyword of C and C++. Nearly every inline assembly tutorial, including the awful ibilio page at the top of search engines for decades, propagate fundamental, serious mistakes, and most examples are incorrect. The dangerous part is that the examples usually produce the expected results!
Fujitsu Monaka CPU Target Added to GCC 15 Compiler (phoronix.com)
Fujitsu has upstreamed support for their next-gen "Monaka" Armv9 processor into the GNU Compiler Collection codebase in time for the GCC 15 release coming out early next year.
Built-In Functions Provided by GCC (gcc.gnu.org)
GCC provides a large number of built-in functions other than the ones mentioned above.
reftrack-plugin – plugin for GCC that tracks references to allocated objects (github.com/acbits)
reftrack is a GCC plugin for C language that tracks references to allocated objects though it could be used for other purposes by writing custom functions.
GCC Preparing to Set C23 "GNU23" as Default C Language Version (phoronix.com)
The GNU Compiler Collection (GCC) support for the C23 programming language standard is now considered "essentially feature-complete" with GCC 15. As such they are preparing to enable the C23 language version (using the GNU23 dialect) by default for the C language version of GCC when not otherwise specified.
(Re)Using rustc components in gccrs (rust-gcc.github.io)
In order to speed up development, as well as make sure gccrs exposes the exact same behavior as rustc in critical compiler passes, we decided last year to start reusing components and crates from the official Rust compiler where possible.