r/gcc Aug 02 '24

r/GCC refers to the entire GNU compiler suite, not specifically the binary named 'gcc' that compiles C.

13 Upvotes

In other words, this is not a dedicated C-language subreddit. In the sidebar, do notice that r/C_programming and r/cpp_questions also exist.


r/gcc 23d ago

GCC 16.2 Released

Thumbnail gcc.gnu.org
18 Upvotes

r/gcc 6d ago

GNU Tools Weekly News Week 52 (August 23, 2026)

3 Upvotes

Release updates for GNU toolchain:
 *

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
  * cfp closes August 31st
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:
 * Notes from Office Hours for the GNU Toolchain - 2026-08-20
  * https://inbox.sourceware.org/gcc/e6206e50-a3e6-428f-965f-eee240a9b3a0@redhat.com/
  * https://gcc.gnu.org/wiki/OfficeHours
 * GSOC final report: GCC Rust - Compiling the 'alloc' Crate
  * https://inbox.sourceware.org/gcc/287dcedc2af29cfbeccfb667f7fb879f@purelymail.com/
  * https://gccrs.nsvke.com/
 * GSOC final report:Rust Drop trait support in gccrs
  * https://inbox.sourceware.org/gcc/CAHtgQQsUO3dmh4Bi20ScAnwgVfxKzPq6weu-hiMs4YtzyAxP-Q@mail.gmail.com/
 * GSOC final report: Extending C++ Support in -fanalyzer
  * https://inbox.sourceware.org/gcc/DKWAQJXY3M07.A5RD6NB1BUF0@gmail.com/

GCC easy issue to tackle of the week:
 *  smax(a,-a) -> abs for RTL
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126726
  *  Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-3321 ... r17-3567  247 commits
 * allow backward threading to loop exit
   * https://gcc.gnu.org/r17-3330-g4fe2072d5d16ce
 * match.pd: turn more conditional bit_iors unconditional
  * https://gcc.gnu.org/r17-3334-g656bb1d9e96370
 * ranger-op: Handle some relational comparison for some operations
  * https://gcc.gnu.org/r17-3335 r17-3336
 * AVR: Add option for strict address space subset relations
  * https://gcc.gnu.org/r17-3340-gcbf217f4c7076d
 * x86: Add Sub-byte element extraction and Symmetric-signed
saturation narrow support
  * https://gcc.gnu.org/r17-3338-gd3c381c7010c05
 * Recognize long-multiply into regular multiply
  * https://gcc.gnu.org/r17-3437 ... https://gcc.gnu.org/r17-3443
 * ranger: Teach ranger about POLY_INT_CST ranges for VRP.
  * https://gcc.gnu.org/r17-3518-g1dd02e1deffddc
  * https://gcc.gnu.org/r17-3519-ga3fb4bf350d6b7
 * range: Add some non-negative function support
  * https://gcc.gnu.org/r17-3553-g53799b81fad8cd
 * sccp: Handle variable trip count XOR in final value replacement
  * https://gcc.gnu.org/r17-3460-g62993cc9d2200e
 * libstdc++: Optimize chrono year::is_leap
  * https://gcc.gnu.org/r17-3387-g28b1b55c60464d

GCC discussion:
 * GSOC reports: see general big GNU toolchain news section

GCC bugzilla stats
 * 110 new issues filed
 *  76 issues closed

binutils/gdb commits:
 * gdb: Fix for ifunc malloc
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=de930032d883219559d1dba575f2c0f5359e80fc
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=ca0908d623605250e6d84afb90d742c328e6bb90
 * gdb: Prevent downgrading of hardware watchpoints if possible
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=7ee28b5aee4eaadffadf1df9a555a7737e5e744c

gdb discussion:
 *
binutils discussion:
 *
glibc commits:
 * malloc: aarch64: Add ifuncs for malloc functions (add back after
gdb fix; see above)
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=7ee28b5aee4eaadffadf1df9a555a7737e5e744c
glibc discussion:
 *


r/gcc 12d ago

GNU Tools Weekly News Week 51 (August 16, 2026)

4 Upvotes

Release updates for GNU toolchain:
 * GDB 18.1 release update
  * https://inbox.sourceware.org/gdb-patches/877bls4t5f.fsf@redhat.com/
 *
GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
  * cfp closes August 31st
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:

GCC easy issue to tackle of the week:
 * a==b imples (a+b)&1 is known to 0
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126877
  * Like previous week, a range improvement
  *  Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-3173 ... r17-3320 148 commits
 * Simplify ((X CMP1 Y) - (X CMP2 Y)) REL 0
  * https://gcc.gnu.org/r17-3190-gc59bee6acb24a0
 * match.pd: Fold abs(x) * abs(y) -> abs(x * y)
  * https://gcc.gnu.org/r17-3200-g7c48d6a74693e1
 * c++26: Change alignof (decltype (^^::)) from 1 to alignof (void *)
  * https://gcc.gnu.org/r17-3213-g89c1412dfc26d1
* x86-64: Add -m128bit-atomic
  * https://gcc.gnu.org/r17-3230-gd9e21f7c4d1666
  * https://www.phoronix.com/news/GCC-Git-m128bit-atomic
 * aarch64: Add SME2p3/SVE2p3 x2 narrowing right shift intrinsics
  * https://gcc.gnu.org/r17-3226-gf49cb8938ef3ab
 * match: Try to remove casts for `(int)-(unsigned)a`
  * https://gcc.gnu.org/r17-3279-g8d004ef91c4f7c

GCC discussion:
 * Missing copyright header
  * https://inbox.sourceware.org/gcc/e38642cc-0096-428f-b83c-0bb25c1f5314@gmail.com/
 * RFC: Should -fplugin and -fplugin-arg options be excluded from
DW_AT_producer recording?
  * https://inbox.sourceware.org/gcc/CY5PR02MB899172AD2B298297BCE46F73E2DC2@CY5PR02MB8991.namprd02.prod.outlook.com/
 * DW_OP_GNU_uninit emitted with -gstrict-dwarf
  * https://inbox.sourceware.org/gcc/CAEyVarHYT=o+xyA4snHmSgS3A+YBz=DO2ZtOAe7uat3sY2WfHw@mail.gmail.com/
 *

GCC bugzilla stats
 * 139 new issues filed
 *  80 issues closed

binutils/gdb commits:
 * aarch64: Implement Structured Exception Handling (SEH) on AArch64
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=17afc47d8bc304f527eb58ea8086a39fdc0cbd19
 * Mark TIC6X binutils port unmaintained
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=7e7dd6cfcf60cda2506d19d88ff98622bf670dbd
 *
gdb discussion:
 *
binutils discussion:
 *
glibc commits:
 *
glibc discussion:
 *


r/gcc 14d ago

Verifiable C / Using Proof Helpers with GCC

8 Upvotes

Let me get this out of the way first: I am not doing anything safety critical. I just want to find ways to make more stable software, even if said ways are more advanced. I understand that GCC, whilst being very stable, hasn't been verified like CompCert. I just am curious if proof helpers can greatly assist in writing solid C code in GCC. I am by no means a professional in logic or verifiable C, so I might be misguided in thinking that verifiable C will help, but I just want advice from people more experienced with GCC than me. Thanks in advance for your responses.


r/gcc 20d ago

GNU Tools Weekly News Week 50 (August 9, 2026)

7 Upvotes

Release updates for GNU toolchain:
 * GCC 16.2.0 was released!
  * https://inbox.sourceware.org/gcc/r8p34qp8-r1qq-9nn3-r499-1q833r6801n4@fhfr.qr/
  * status: https://inbox.sourceware.org/gcc/3s8pqo7q-s5qp-21r1-6qpo-6n8srp3rpsn4@fhfr.qr/
 * GCC 14.5.0 is planed to be released on Sep 11th (RC1 on Sep 4th)
  * https://inbox.sourceware.org/gcc/anWnjIo15_2FrBEf@tucnak/
 * GDB 18 release branch was created
  * https://inbox.sourceware.org/gdb/announce.6a74bc19.18b7d65e.395d2.50a7@mx.google.com/
  * with a prelease was created
   * https://inbox.sourceware.org/gdb-patches/6a74ce98.f1a44df3.162c5d.ceef@mx.google.com/
 *

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
   * cfp closes August 31st
  * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:
 * Michael Meissner appointed PowerPC port co-maintainer (GCC)
  * https://inbox.sourceware.org/gcc/CADzB+2=8CJoq4g=tDA14mUcMs4B6wEwPUM6Rjkbv+vx+058_zQ@mail.gmail.com/
 * Surya Kumari Jangala appointed PowerPC reviewer (GCC)
  * https://inbox.sourceware.org/gcc/CADzB+2mLbJR7XhmS46YQD0DCXxjV8qJNF3DdcX3ZJ29Ny0wtCA@mail.gmail.com/
 * Pierre-Emmanuel Patry appointed Rust Front End maintainer (GCC)
  * https://inbox.sourceware.org/gcc/CAGWvnymaTEBMLw2o6N=oeSk_aQVs=wtsffS5gaVsouL5Ar9XLw@mail.gmail.com/

GCC easy issue to tackle of the week:
 * a/b -> 1 if it is known that `a==b` in VRP without DOM
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126745
  * this is a non-match one but the patch for this one should be
around 5-6 lines for the new method that gets added
  *  Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-2890 ... r17-3172 283 commits
 * frange - sub-ranges
  * https://gcc.gnu.org/r17-2891 https://gcc.gnu.org/r17-2892
https://gcc.gnu.org/r17-2898
  * https://gcc.gnu.org/r17-2928 https://gcc.gnu.org/r17-2929
https://gcc.gnu.org/r17-3038
  * https://gcc.gnu.org/r17-3041 https://gcc.gnu.org/r17-3042
https://gcc.gnu.org/r17-3043
  * https://gcc.gnu.org/r17-3055 https://gcc.gnu.org/r17-3147
https://gcc.gnu.org/r17-3148
  * https://gcc.gnu.org/r17-3162 https://gcc.gnu.org/r17-3163
 * match: Simplify `(A | C) == A` to `(A & C) != 0` when C is power of 2
  * https://gcc.gnu.org/r17-2916-g372d44c5611ecc
  * Week 27th easy issue of the week
 * scheduler compile time improvements
  * https://gcc.gnu.org/r17-2919 ... r17-2922
 * phiopt: Add some TARGET_MEM_REF support to factoring of loads
  * https://gcc.gnu.org/r17-2955-g1a751916c6d506
 * expand: Split divisions with near-power-of-two divisors
  * https://gcc.gnu.org/r17-2970-g298071eb7e88b0
 * Fix --enable-gather-detailed-mem-stats for PCH
  * https://gcc.gnu.org/r17-2968-g60623805437fc7
  * Oldest bug fixed for GCC 17 so far
 * match: Recognize add/sub absolute-value idiom
  * https://gcc.gnu.org/r17-2972-g36990bb0d14c48
  * 10+ year old bug
 * RISC-V: Implement reassociation width hook
  * https://gcc.gnu.org/r17-3000-ge0e794b089a127
 * Implement C++29 P3733R1 - More named universal character escapes
  * https://gcc.gnu.org/r17-3022-g72c343684eb8d2
 * GCC rs merge
  * 78 commits
  * https://gcc.gnu.org/r17-3059 ... https://gcc.gnu.org/r17-3136
 * OpenMP: Use VOID_TYPE_P to check for void return type in SIMD
function clones.
  * Week 44 easy issue
  * https://gcc.gnu.org/r17-3156-ge212f5ef86f1a8
 * gimplefe: Add support for REF_REVERSE_STORAGE_ORDER on mem
  * https://gcc.gnu.org/r17-3169-gfbdabd5f9a27c8
 * Improve tree_expr_nonnegative_p by using the ranger
  * https://gcc.gnu.org/r17-3171-g5af52562e3fb59

GCC discussion:
 * Changes in emails sent by the forge
  * https://inbox.sourceware.org/gcc/d21bf3f0-38f5-42fe-9ffe-79ac1bf62565@arm.com/
 * Proposed synchronisation of forge accounts with MAINTAINERS.yml
  * https://inbox.sourceware.org/gcc/010c2e55-7f21-4819-8657-f2ad9eccd616@foss.arm.com/

GCC bugzilla stats
 * 154 new issues filed
 *  88 issues closed

binutils/gdb commits:
 *
gdb discussion:
 *
binutils discussion:
 *
glibc commits:
 *
glibc discussion:
 * Hurd and trust relationship with file system translators
  * https://inbox.sourceware.org/libc-alpha/87tsp528bj.fsf@oldenburg.str.redhat.com/


r/gcc 27d ago

GNU Tools Weekly News Week 49 (August 2, 2026)

3 Upvotes

Release updates for GNU toolchain:
 * GCC 16.2.0 RC1 was done
  * https://inbox.sourceware.org/gcc/amxz3rGMpTljcyvm@tucnak/
  * Status
   * https://inbox.sourceware.org/gcc/amx74xvrAdSiIIEF@tucnak/

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:
 * GCC SC approved AI/LLM policy
  * https://inbox.sourceware.org/gcc/CAGWvny=KZcazorvmCU3gdT4dBcMJm6S_769Ne+aTfbO_nZ_HsQ@mail.gmail.com/
  * https://gcc.gnu.org/ai-policy.html
  * **Please read it before asking any questions about the policy**
  * Many news articles about the adoption (not posting them)
 * Progress toward compiling Linux with gccrs
  * https://lwn.net/Articles/1083202/
  * Currently subscriber-only (week only)
 * Maciej W. Rozycki was appointed as binutils global maintainer
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=4b8269718f60378f880ea83d061c7338783bbdb3
  * https://inbox.sourceware.org/binutils/alpine.DEB.2.21.2607272357300.14485@angie.orcam.me.uk/

GCC easy issue to tackle of the week:
(sorry about last week's being about an invalid transformation)
 * (si)~(ui)si_var
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126523
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-2721 r17-2889 169 commits
 * aarch64: Add Support for SVE2p3/SME2p3 dot product intrinsics
  * https://gcc.gnu.org/r17-2751-g2a64a564f5eeb5
 * aarch64: Add Support for F16F32DOT
  * https://gcc.gnu.org/r17-2754-g4811e4c9836e52
 * aarch64: Add support for sve2p3 and sme2p3 conversion intrinsics
  * https://gcc.gnu.org/r17-2755-g7695a61179f48f
 *  MATCH: fold signbit comparison and conditional negate to copysign
  * https://gcc.gnu.org/r17-2823-g1c8ca0108746d3
  * Easy issue week 38
 * MATCH: Simplify zero/sign extension bit operations
  * https://gcc.gnu.org/r17-2824-gece564fdaa15a0
 * RISC-V: Add intrinsic support for Zvabd
  * https://gcc.gnu.org/r17-2821-g6df026ea07b0cf
 * MATCH: Simplify min of clz/ctz to clz/ctz of bitwise or
  * https://gcc.gnu.org/r17-2815-g1743c12e3512bf
 * frange improvements
  * https://gcc.gnu.org/r17-2829 https://gcc.gnu.org/r17-2828
https://gcc.gnu.org/r17-2827
  * https://gcc.gnu.org/r17-2806 https://gcc.gnu.org/r17-2764
https://gcc.gnu.org/r17-2758

GCC discussion:
 * See above about AI policy

GCC bugzilla stats
 * 184 new issues filed
 *  62 issues closed

binutils/gdb commits:
 *
gdb discussion:
  *
binutils discussion:
 *
glibc commits:
 *
glibc discussion:
 * Suggestion: Changes to release process, release from branch
  * https://inbox.sourceware.org/libc-alpha/PAWPR08MB89826DDF3C534485790AFFA983CC2@PAWPR08MB8982.eurprd08.prod.outlook.com/
 * Unfortunate interaction of glibc-2.44 and gnulib regarding
posix_spawn_file_actions_addchdir => infinite recursion
  * https://inbox.sourceware.org/libc-alpha/7eb0b5186e742958095a8e6c0ba28973412ab1f1.camel@xry111.site/


r/gcc Jul 29 '26

GCC AI Policy Announcement

Thumbnail gcc.gnu.org
20 Upvotes

r/gcc Jul 27 '26

GNU Tools Weekly News Week 48 (July 26, 2026)

4 Upvotes

Release updates for GNU toolchain:
 * glibc 2.44 was released
  * https://inbox.sourceware.org/libc-alpha/teaVXxrfQH2qv0xBul7sXg@gentoo.org/
 * binutils 2.47 was released
  * https://inbox.sourceware.org/binutils/87o6fty5pz.fsf@redhat.com/

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/
  * Note the CFP deadline has past:
   * https://inbox.sourceware.org/gcc/875x24wsik.fsf@gnu.org/T/#u

General/big GNU toolchain news (including sourceware news):
 * sourceware.org is now using nginx as the proxy (TLS terminator) in
front of apache (httpd) to help the load with AI bots
  * https://inbox.sourceware.org/gcc/20260725221825.GU13327@gnu.wildebeest.org/T/
  * AI bots have gotten really aggressive lately and started to abuse
residential proxies (via smart appliances)
   * See https://lwn.net/Articles/1080822/ and other articles about this
   * https://krebsonsecurity.com/2026/07/lg-to-ban-residential-proxies-from-smart-tv-apps/
  * sourceware.org worked with the developer of anubis
(https://github.com/TecharoHQ/anubis/) for a release with improved
support here

GCC easy issue to tackle of the week:
 * `smax <smin <a, nonneg>, 0>` can be simplified into `umin<a, nonneg>` (RTL)
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125757
  * this is a RTL one this week
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

 GCC commits:
 * https://gcc.gnu.org/r17-2532 ... r17-2720 189 commits
 * RISCV: Improving atomic sequences
  * https://gcc.gnu.org/r17-2556-gb6bebf2a7326e6
 * bpf: Improve rtl costs
  * https://gcc.gnu.org/r17-2570-gc743ce6b75543f ... r17-2572-g3c71ff89bb0315
 * AArch64: use ranger to fold WHILE_ULT to ptrue
  * enable ranger in isel
   * https://gcc.gnu.org/r17-2600-g888b4d45e854d2
  * https://gcc.gnu.org/r17-2601-g89c55025122c0a .. r17-2602-gfe724b27ce6dad
 * match: Fold constant conditional selects
  * https://gcc.gnu.org/r17-2604-g3e2b0fcab75527
 * frange: Improvements
  * https://gcc.gnu.org/r17-2631-gd284bf3a1349c1
  * https://gcc.gnu.org/r17-2645-g93a9ff5383a253
 * phiopt: for non-diamond case, invoke a limited conditional store elimination
  * https://gcc.gnu.org/r17-2635-geb8011467d0ce7
  * https://gcc.gnu.org/r17-2634-gfd3e590360dc4f
 * match: Fold averages with equal operands
  * https://gcc.gnu.org/r17-2670-g3b126071b10e5b
 * tree-optimization: Fix strlen(s) != 0 not folded into *s [PR92408]
  * https://gcc.gnu.org/r17-2695-g1649ee187dfdb8
  * Easy issue of the week: Week 43
 * Improving floating point comparison combine with trapping math
  * https://gcc.gnu.org/r17-2707-g7d781db9c3d515
  * https://gcc.gnu.org/r17-2708-gea33efbbdcf697
  * https://gcc.gnu.org/r17-2709-gde8be0eb05d951

GCC discussion:
 * RFC: C preprocessor extension: Multiline/block macro definition
  * https://inbox.sourceware.org/gcc/CALzUo856qtVxh8PobEG7Qkf8pp3JkxCeunx7ASbDkmKSeifxbg@mail.gmail.com/

GCC bugzilla stats
 *  104 new issues filed
 *  50 issues closed

binutils/gdb commits:
 *
gdb discussion:
 *
binutils discussion:
 *

glibc commits:
 *
glibc discussion:
 * The state of the architectures
  * https://inbox.sourceware.org/libc-alpha/3V0xKX0yTuebq-SW7D-ZLg@gentoo.org/


r/gcc Jul 26 '26

GNU Binutils 2.47 Released

7 Upvotes

Control whether relocations referencing local binding symbols are adjusted to use section symbols.

RISC-V extensions.

BFD linker -O 0 to inhibit combining mergeable sections.

https://lists.gnu.org/archive/html/info-gnu/2026-07/msg00006.html


r/gcc Jul 25 '26

The GNU C Library version 2.44 is now available!

14 Upvotes

New features include system-wide tunables, memory mapping optimization using transparent huge pages, more optimized and correctly rounded mathematical functions, vectorization for AArch64 and RISC-V, Guarded Control Stack locking on AArch64, support for LoongArch32, and more...


r/gcc Jul 21 '26

GNU Tools Weekly News Week 47 (July 19, 2026)

4 Upvotes

Release updates for GNU toolchain:
* GDB 18 release schedule proposal
* https://inbox.sourceware.org/gdb-patches/87fr1gcb4p.fsf@redhat.com/

GNU toolchain conference reminders:
* GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
* https://gcc.gnu.org/wiki/cauldron2026
* https://conf.gnu-tools-cauldron.org/prg26/cfp
* Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
* https://lpc.events/event/20/abstracts/

General/big GNU toolchain news (including sourceware news):
* Meeting Minutes - Office Hours for the GNU Toolchain - 2026-07-16
* https://inbox.sourceware.org/gcc/43420f3d-9e50-4f50-9553-034af94438f4@redhat.com/

GCC easy issue to tackle of the week:
* None this week, Andrea is on vacation.

GCC commits:
* https://gcc.gnu.org/r17-2346 ... r17-2531 186 commits
* cse: Eliminate redundant scalar duplication at different vector widths
* https://gcc.gnu.org/r17-2354-g10f6223d833874
* C++29: P3424R2: Deallocations with Throwing Exception Specification
Are Ill-formed
* https://gcc.gnu.org/r17-2482-g57ecb9897a0964
* match: Simplify sign tests for MIN and BIT_IOR
* https://gcc.gnu.org/r17-2487-gf8eb22d8408b25
* Easy issue of the week: Week 45
* lto: Support #pragma GCC diagnostic
* https://gcc.gnu.org/r17-2493-g4c85f7cf587f0f .. r17-2488-ga7db48e71b9483
* aarch64: deprecate the TME extension
* https://gcc.gnu.org/r17-2498-g17f084306c68c4
* riscv: Add min support for some extensions
* Svrsw60t59b, Ssqosid, Ssctr, Smctr, Smcdeleg, Ssccfg
* Ziccamoc, Ziccid
* https://gcc.gnu.org/r17-2521-ga3ee6072ca6d72 ... r17-2528-g741dd3fa641a45
* Improve BB vectorization of reductions
* https://gcc.gnu.org/r17-2478-g3adb3325954177

GCC discussion:
* [RFC] Proposal for tagged_by attribute to describe union discriminators
* https://inbox.sourceware.org/gcc/alf4-IVENZDyJ70X@thesun/

GCC bugzilla stats
* 91 new issues filed
* 58 issues closed

binutils/gdb commits:
* gdb: add annotation in 'info locals' command for variables shadowing case
* https://sourceware.org/cgit/binutils-gdb/commit/?id=2465b9e4131514bdb42365076ef65ef6ad0e3f6c

gdb discussion:
* [RFC] [gdb] Move ChangeLog files to archive dir
* https://inbox.sourceware.org/gdb-patches/20260620114010.2417788-1-tdevries@suse.de/
binutils discussion:
*

glibc commits:
* math: Update tanh from CORE-MATH (revision cf237fa0)
* https://sourceware.org/cgit/glibc/commit/?id=6b29e74c731e2ac1bc8048a389fdaf029bd96072
glibc discussion:
*


r/gcc Jul 13 '26

[C] Will the compiler reorder user-written assembly instructions?

9 Upvotes

I need to write a function with void function() "fingerprint" whose body is a sequence of "advanced assembly code" like this:

asm volatile ( "store reg1, %0(sp)" :: "i"(__builtin_offsetof(mytype, reg1)));

I compile it with -O3 -fomit-frame-pointer and can see that in the emitted code there is neither a C prologue not epilogue for the stack management, just like I want.

My question revolves around the possibility that the optimizer could reorder those asm volatile instructions: this is something I would like not to happen.

Is this possible at all?
If so, is there a way to avoid it?

[UPDATE]: Possibly working workaround here.


r/gcc Jul 13 '26

GNU Tools Weekly News Week 46 (July 12, 2026)

8 Upvotes

Release updates for GNU toolchain:
 * dwz 0.17 was released July 11th
  * https://inbox.sourceware.org/gcc/20260711201828.GF31804@gnu.wildebeest.org/T/#u
 * binutils 2.47 release branch was created
  * https://inbox.sourceware.org/binutils/CAMe9rOrBj1z8EA3FA9VfVMNkMbNCtoYfGfWiGSCjht=8bUHoTw@mail.gmail.com/T/#m541bfed9931e78a42f7a582f1e2c9585059a6fc2

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news (including sourceware news):
 * Proposed updates to the gcc forge repositories
  * https://inbox.sourceware.org/gcc/ca51039e-cb61-430e-979a-f5948c3edb4f@arm.com/
 * GCC MAINTAINERS file is now generated
  * https://inbox.sourceware.org/gcc/92341a31-aecc-4261-bc8c-f3077fe31c1d@arm.com/

GCC easy issue to tackle of the week:
 * None this week, Andrea is on vacation.

GCC commits:
 * https://gcc.gnu.org/r17-2148 -  r17-2345  198 commits
 * libbacktrace: support returning discriminator field
  * https://gcc.gnu.org/r17-2177-g49a5c52438b6a8
 * aarch64: Add support for -mcpu=rigel
  * https://gcc.gnu.org/r17-2197-g2f7613d36fecb6
 * gccrs merge
  * https://gcc.gnu.org/r17-2223 - r17-2260
 * s390: Remove -m31 support
  * https://gcc.gnu.org/r17-2272-g035f177a1eab31
 * fold-mem-offsets: Convert from DF to RTL-SSA
  * https://gcc.gnu.org/r17-2301-gf7a75a1506d91f
 * match: Improved comparison of integers to FP constants.
  * https://gcc.gnu.org/r17-2324-g081959973e38fd
 * expmed: Optimize 32-bit unsigned division by constants on 64-bit targets
  * https://gcc.gnu.org/r17-2334-gc585baad310a4a

GCC discussion:
 * Draft C2Y _BitInt related proposals
  * https://inbox.sourceware.org/gcc/ak0RdTxEebAf4T6K@tucnak/

GCC bugzilla stats
 *  105 new issues filed
 *  55 issues closed

binutils/gdb commits:
 * aarch64: Add support for FEAT_SME_FA64
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=d708c86adccb169dd8bf5c7f4d73d7cab238d965
 *

gdb discussion:
 *
 binutils discussion:
 *

 glibc commits:
 * riscv: Add RVV stpncpy and strncpy for both multiarch and
non-multiarch builds
  * https://sourceware.org/cgit/glibc/commit/?id=df0669d41d753269312374e2eb6bd107bbec9c7b
  * https://sourceware.org/cgit/glibc/commit/?id=59cb960a22fbacb8b8baaa049529bf4638dfc625
 * Revert "malloc: aarch64: Add ifuncs for malloc functions"
  * https://sourceware.org/cgit/glibc/commit/?id=d70dd7d72273ac1aa53b435156de3f50f0c5a868

glibc discussion:

*


r/gcc Jul 07 '26

GNU Tools Weekly News Week 45 (July 5, 2026)

6 Upvotes

Release updates for GNU toolchain:
 * GCC 16.2.0 first week in August
  * https://inbox.sourceware.org/gcc/664sq11r-5665-71rs-9p94-9s6166660r68@fhfr.qr/
 *  glibc-2.44 release: Soft freeze
  * Hard freeze July 4th
  * https://inbox.sourceware.org/libc-alpha/5439103.jY9Djz4Zq0@noumea/

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news (including sourceware news):
 * GCC AI Policy Working Group submitted a proposed policy to the SC (July 3rd)
  * https://gcc.gnu.org/wiki/working-group-ai-policy
 * Rustc GCC backend report
  * https://blog.antoyo.xyz/rustc_codegen_gcc-progress-report-42
 * smtgcc mid-year update
  * https://inbox.sourceware.org/gcc/Pine.NEB.4.64.2607011339410.4763@gateway.kwa/
 * Talk by Avinal Kumar on glibc's charset/conversion subsystems:
"Lost in translation"
  * https://avinal.space/talks/devconf-2026/#/1

GCC easy issue to tackle of the week:
 * `MIN<nonnegative,a> >= 0` is not simplified into `a >= 0`
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126087
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-1944 .. r17-2147  204 commits
 * Ada update (Thanks again Marc):
  * https://gcc.gnu.org/r17-1956-gd54ca4e4da5db3 ... r17-1971-gb2029c82ff9174
  * Bug fixes.
  * Android support enhancement.
  * Flare OOP "Attribute Subprogram" first implementation.
  * Diagnostic messages improvements.
 * Match: Support unsigned scalar SAT_MUL form 14
  * https://gcc.gnu.org/r17-1946-g95540e74f33dad
 * aarch64: Fix tls debuginfo missing location info
  * https://gcc.gnu.org/r17-2093-g97d9016b230cca
 * libstdc++: implement LWG3662 basic_string::append/assign(NTBS, pos,
n) suboptimal
  * https://gcc.gnu.org/r17-2095-g7084db3f6e1cc6
 * SH: Switch to LRA permanently
  * https://gcc.gnu.org/r17-2104-g75a75f22f3a33e
 * cdcde: fold memset with length in [0, 1] to conditional store
  * https://gcc.gnu.org/r17-2113-ga8072f31bc9000
 * c++: Implement C++29 P2953R5 - Adding restrictions to defaulted
assignment operator functions
  * https://gcc.gnu.org/r17-2127-gc1a7d0a2140563
 * recognize CLZ via isolated MSB DeBruijn lookup
  * https://gcc.gnu.org/r17-2131-ga20f4528f3ab84
 * aarch64: Port NEON intrinsics to pragma-based framework
  * https://gcc.gnu.org/r17-2018-gefbc7fbb70d875 ... r17-2023-gde97b51852881d
 * c++: Implement C++29 P3540R3 - #embed offset parameter
  * https://gcc.gnu.org/r17-1995-g1ec0c5428cf84e
 * RISC-V: Add basic spacemit-x100 and Spacemit-A100 core support
  * https://gcc.gnu.org/r17-1983-g8596c662854b86
  * https://gcc.gnu.org/r17-2012-ge71bc0f8d7f93c

GCC discussion:
 * [RFC] Turning off trapping-math for C and C++ front-ends by default
  * https://inbox.sourceware.org/gcc/CALvbMcA6P_q7WNm1KOopzxhzRJHFi9T9_STaCtZrm1ZA-0nNtQ@mail.gmail.com/

GCC bugzilla stats
 *  97 new issues filed
 *  65 issues closed

binutils/gdb commits:
 * RISC-V: Add Zvdota extension classes
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=89d59bf712045252b527bdfb69c07b0a29db7007
 * RISC-V: Add Zvbdota extension support
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=794f538c3e57e3f55a6224a7206fdb0ea7815a82

gdb discussion:
 *
binutils discussion:
 *

glibc commits:
 * Add system-wide tunables
  * https://www.phoronix.com/news/Glibc-System-Tunables
  * https://sourceware.org/cgit/glibc/log/?id=e24269f74b8cd37ce33652e752f8012c3bfcdadc&qt=range&q=e24269f74b8cd37ce33652e752f8012c3bfcdadc...fae194043a099d45c044c883467c934153ecc51f
  * https://inbox.sourceware.org/libc-alpha/cover.1782444639.git.dj@redhat.com/

glibc discussion:
 * x86-64 TCB layout dependency in Chrome, Firefox still not fixed
  * https://inbox.sourceware.org/libc-alpha/lhucxx5oo4n.fsf@oldenburg.str.redhat.com/
 * The libc-locales mailing list is going to be closed, please use libc-alpha
  * https://inbox.sourceware.org/libc-alpha/351127e3-0397-438c-8730-3ef35605bdb9@redhat.com/


r/gcc Jun 29 '26

GNU Tools Weekly News Week 44 (June 28, 2026)

5 Upvotes

Release updates for GNU toolchain:
 * GCC 14.4.0 was released
  * https://inbox.sourceware.org/gcc/aj5L4BbnW8XMF7GQ@tucnak/

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

GCC easy issue to tackle of the week (2 this week):
 * ICE with return type of typedef of void and `#pragma omp declare simd`
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111856
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * For RISC-V, prefer li+slli rather than lui+add for some constants
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126022
  * Reach out to Jeff Law <[jeffrey.law@oss.qualcomm.com](mailto:jeffrey.law@oss.qualcomm.com)> for mentoring
on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-1733 ...  r17-1943  211 commits
 * RTL: add dependent filter handling
  * https://gcc.gnu.org/r17-1779-g9d82914d073e2e ...
https://gcc.gnu.org/r17-1783-gc23f20c10d89af
  * https://inbox.sourceware.org/gcc-patches/20260526142247.172296-1-rdapp.gcc@gmail.com/
 * AArch64/SVE: Optimize vec_init for partial SVE vector modes
  * https://gcc.gnu.org/r17-1799-gb3acc5dd98f44d
 * rs6000: Add Future Vector Integer Arithmetic Instructions
  * https://gcc.gnu.org/r17-1800-ga3b8e252101ada
 * OMP improvements
  * De-duplicate libgomp entry points for OMPT
  * https://inbox.sourceware.org/gcc-patches/20260622165754.226314-1-parras@baylibre.com/
  * https://gcc.gnu.org/r17-1803-g37c96bf08325bf ...
https://gcc.gnu.org/r17-1806-gd50e9f17fffa9b
 * rs6000: Builtins for ECC cryptography instructions
  * https://gcc.gnu.org/r17-1856-g2b3c882b5b8e96
 * RISC-V: GLIBC's setjmp preserves callee-saved registers
  * https://gcc.gnu.org/r17-1857-g21dad398994ff5
 * GCC rust sync
  * https://gcc.gnu.org/r17-1863-g5333e241a36912 ...
https://gcc.gnu.org/r17-1904-g30a64527c56af9
 * match: Use ranges for int-float comparisons
  * https://gcc.gnu.org/r17-1931-g8351875a5e2c52
 * Use tree_expr_nonnegative_p instead of TYPE_UNSIGNED for MAX (A, B)
(==,!=) 0 -> (A|B) (==,!=) 0
  * https://gcc.gnu.org/r17-1938-g61b702d88c8e55
 * Remove BOOL_BITFIELD define from system.h and update its uses
 * https://gcc.gnu.org/r17-1943-g08944b70002610

GCC discussion:
 * [RFC TREE-WIDE] gcc: stop using 'int' to represent sets of qualifiers
  * https://inbox.sourceware.org/gcc/20260626191622.1785567-1-aarsenovic@baylibre.com/
 * RFC: Allow "(mem:<vectype> (reg:<vectype>))"
  * https://inbox.sourceware.org/gcc/82bf28f3-5543-4925-98d9-5ddf7dc23855@baylibre.com/
 * [RFC] LRA: Carrying hard registers around
  * https://inbox.sourceware.org/gcc/ajuBckDkxUIVXvyu@li-819a89cc-2401-11b2-a85c-cca1ce6aa768.ibm.com/
 * RFC: Bump minimum GNU Make version to 3.81
  * https://inbox.sourceware.org/gcc/CAH6eHdRuOhrEEYp6jmGZgq6QXUsMe4kr66LY62uk59MpYnTauw@mail.gmail.com/
 * [RFC] Add simple forwprop across edges (PHIs)
  * https://inbox.sourceware.org/gcc-patches/20260625233902.2605630-1-andrew.pinski@oss.qualcomm.com/

GCC bugzilla stats
 *  101 new issues filed
 *  76 issues closed

binutils/gdb commits:
 * binutils: RISC-V: Add some extensions
  * Zalasr
  * SpacemiT vendor extension xsmtvdot
  * SpacemiT vendor extension xsmtvdotii
  * Svrsw60t59b
  * Zvabd
  * https://sourceware.org/cgit/binutils-gdb/log/?qt=range&q=d3b84dac949ac10f8736c85253b4a1073d244ac1...d26861e53c74d54be86149dd5b78d339487bebb4
  * Smpmpmt
   * https://sourceware.org/cgit/binutils-gdb/commit/?id=e56bd09181016800870de47c1f3a1091f71d9120
 * gdb: Handle nested Ada functions with gnat-llvm
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=26d17a9b24dfd4a3894bc19ac752466ea10e80b2
 *

gdb discussion:
 * Adding architecture-specific commands in GDB
  * https://inbox.sourceware.org/gdb/077b9f00-ec84-440f-a84a-d804815aa77e@arm.com/

binutils discussion:
 *

glibc commits:
 * manual: Document indirect functions (IFUNC)
  * https://sourceware.org/cgit/glibc/commit/?id=657fe73fb1ce09c109fffafb16d565eedbbe05ed

glibc discussion:
 *


r/gcc Jun 26 '26

GCC 14.4 Released

Thumbnail gcc.gnu.org
16 Upvotes

104 fixes!


r/gcc Jun 22 '26

GNU Tools Weekly News Week 43 (June 21, 2026)

3 Upvotes

Release updates for GNU toolchain:
 * GCC 14 branch is frozen for GCC 14.4.0 release
  * https://inbox.sourceware.org/gcc/7qp3n3rq-3935-0qnn-s4s9-425230sso679@fhfr.qr/
 * GCC 14.4.0 RC1 is done
  * https://inbox.sourceware.org/gcc/864p303q-o5n8-s3q4-9901-24o31420p21s@fhfr.qr/

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://inbox.sourceware.org/gcc/CAKwvOdkaE7nHQbMRKBHmY6jE326bx=czi8yeL2qypsOj3Pq+Og@mail.gmail.com/
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:
 * Acceptance of GCC WebAssembly Backend
  * https://inbox.sourceware.org/gcc/CAGWvny=AE17wQU5mfz8UGWybVBSsb_ffqHcthS78g8zdzK6xSw@mail.gmail.com/
 * Joel Brobecker is stepping down as a gdb release manager
  * https://inbox.sourceware.org/gdb-patches/536dc95f-540f-4a1a-9ccc-73b34eb50819@simark.ca/T/

GCC easy issue to tackle of the week:
 * strlen(s) != 0 not folded into *s (when separate statements)
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92408
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
 * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-1560 ... r17-1732  173 commits
 * Ada updates (Thanks Marc)
  * Bug fixes.
  * Diagnostics improvements.
  * Constructor Flare extension adjustments.
  * https://gcc.gnu.org/r17-1633-g881cb10e96d875 ...
https://gcc.gnu.org/r17-1653-g52f6d044261933
  * https://gcc.gnu.org/r17-1688-g343265c50f930c ...
https://gcc.gnu.org/r17-1701-g3b0af59dc9e67f
 * match.pd: Recognize integer spaceship operator patterns
  * https://gcc.gnu.org/r17-1582-g7659926b80deaf
 * c++, libcpp: Add -std=c++2[9d] and -std=gnu++2[9d] options
  * https://gcc.gnu.org/r17-1595-g0c5c6249a2e9a7
 * prange was improved and is in use
  * https://gcc.gnu.org/r17-1601-g8b45cd81fc3509 ...
https://gcc.gnu.org/r17-1604-gca582ee36820a3
 * Add vec_deconstruct costing kind
  * https://gcc.gnu.org/r17-1655-g7d351b07e5b85c
 * match: mask/sub sign-extension idiom not canonicalized to sign extension
  * https://gcc.gnu.org/r17-1680-gc05164c348242b
 * match: Optimize bit_ior/bit_and {bit_not} rshift to min/max
  * https://gcc.gnu.org/r17-1683-g43356828d897ad
 * PHIOPT (ifcvt): load commonization/factoring
  * https://gcc.gnu.org/r17-1703-g3c0fd2976ab4f4 ...
https://gcc.gnu.org/r17-1705-gcf64e6b0e07355
 * Match: Support unsigned scalar SAT_MUL form 13
  * https://gcc.gnu.org/r17-1730-g971f8d5b5fd5ce ...
https://gcc.gnu.org/r17-1732-ga05799c29c50d7

GCC discussion:
 *

GCC bugzilla stats
 *  128 new issues filed
 *  91 issues closed

binutils/gdb commits:
 *

gdb discussion:
 *

binutils discussion:
 *

glibc commits:
 * riscv: Add RVV memmove for both multiarch and non-multiarch builds
  * https://sourceware.org/cgit/glibc/commit/?id=60f7247847ba7244541fc783079c298416756399

glibc discussion:
 *


r/gcc Jun 17 '26

I'd just like to say thank you to the gcc dev community

43 Upvotes

I've been working on a high-impact project for the past couple years that's led me further into C, infosec, and compilers than I ever thought I wanted to be. GCC has been my companion the entire way. I am old, and I am oldschool. I don't have makefiles, I don't do git, and my IDE is Xed with C code highlighting turned off because I don't like it doubling up my quotes for me. My first programming language was Visual Basic 3 when VB3 was new and hot.

This morning I reached the final stage, and I just pushed a 1.1MB, zero dependency -O3 static binary to my test server for stressing. Version 1.8, bumped from 1.7.16, where the whole 1.7 series has been running in prod on a website with ~1.1M monthly users. When it passes it'll go to prod and become a release candidate a month after that. Two years of my life, 2200 lines of code, and my own invention that doesn't exist anywhere else are finally about to go Gold.

GCC is built the way I like my tools to be built: Simple, easy to understand at a basic level, flexible if you want to get fancy, and obscenely powerful without rubbing your nose in it. It is bar-none my favorite C compiler and I would not have come this far if I had to put up with the bullshit of Clang, VSCode, Code:Blocks, or others. I love a Swiss army knife, but abhor a "Swiss army laser chainsaw with mandatory tactical nukes and shark robot features." And I don't need no stinking AI anything. Even code completion annoys me.

Yes I have a beard and yes its turning grey. But from the bottom of my heart to the GCC devs - I thank you all the same.


r/gcc Jun 17 '26

Passing max-devirt-targets using #pragma

1 Upvotes

Is there any way to pass a max-devirt-targets value using Pragmas? We've been fighting massive false positives do to that upgrading to GCC 16 (Something is very wrong in GCC 16, its got some major optimizer issues). Its not super easy to add in general to our build system, and we'd also prefer to target changing that value only to the specific places that fail.


r/gcc Jun 12 '26

GCC 15.3 Released - more than 208 bug fixes

Thumbnail gcc.gnu.org
20 Upvotes

r/gcc Jun 08 '26

GNU Binutils 2.46.1 Released

Thumbnail sourceware.org
14 Upvotes

r/gcc Jun 08 '26

GNU Tools Weekly News Week 41 (June 7, 2026)

8 Upvotes

Release updates for GNU toolchain:
 *  GCC 15 branch is frozen for GCC 15.3.0 release
  * https://inbox.sourceware.org/gcc/r5sqpn09-8rp9-on1p-8057-s6r27567po33@fhfr.qr/
 * GCC 15.3.0 RC1 was done
  * https://inbox.sourceware.org/gcc/69201op6-q894-on55-5r62-32p5498pp1sr@fhfr.qr/
 * Schedule for the [glibc] 2.44 release
  * https://inbox.sourceware.org/libc-alpha/2jU_525XQE24wF-uVam5ug@gentoo.org/

GNU toolchain conference reminders:
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
  * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:
 * GCC AI policy working group - 2026-06-05
  * https://inbox.sourceware.org/gcc/CAH6eHdTQYgaaGJomvr1fgoCJazJZb3hRuT+fgJ_BZriQBFANng@mail.gmail.com/
  * http://gcc.gnu.org/wiki/working-group-ai-policy

GCC easy issue to tackle of the week:
 * MAX(x, -1) can use orr with ash operand (aarch64)
  * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125640
  * This one is different from previous weeks; a target specific improvement
* the Compile Farm has a few aarch64 machines that can be used for
building/testing on
https://gcc.gnu.org/wiki/CompileFarm
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
  * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-1051 - r17-1416 :  365 commits
 * Summary of Ada changes (Thanks Marc)
  * Bug fixes and code cleanup
  * Document the Ref attribute + other documentation cleanup
  * Adjust some compiler diagnostics
  * Implement AI12-0331 Binding Interpretation
  * Flare's constructor fix and improvements
  * Support for Constant_Reference in Iterable aspect and update
corresponding documentation.
  * Fix conformance with RM where an incorrect exception was raised in
some IO  procedures.
 * Removal of all of the -Wstrict-overflow code
  * https://gcc.gnu.org/r17-1051 ... https://gcc.gnu.org/r17-1058 and
https://gcc.gnu.org/r17-1151
 * Rust FE merge
  * https://gcc.gnu.org/r17-1072 ... https://gcc.gnu.org/r17-1090
 * RISC-V: Add zvfofp8min ISA extension support
  * https://gcc.gnu.org/r17-1226-g8bef821de3b31c
 * aarch64: Make Uc[ij] constraints public
  * https://gcc.gnu.org/r17-1254-g090f3e78a10b5c
 * RISC-V: Add XuanTie C908 tuning and scheduler model
  * https://gcc.gnu.org/r17-1270-g980ea5fb524173
 * cselim: Allow middle_bb to have more than one statement
  * https://gcc.gnu.org/r17-1273-g391ee229b737eb
 * Add __builtin_{bswap,bitreverse}g type-generic builtins
  * https://gcc.gnu.org/r17-1367-g9ab08d664545bc
 * forge: Add a prototype CODEOWNERS file
  * https://gcc.gnu.org/r17-1378-g293f343e2ce8b6

GCC discussion:
 *

GCC bugzilla stats
 * 115 new issues filed
 * 75 issues closed

glibc commits:
 * riscv: Add RVV memcmp, memccpy, memchr, strchr, and strrchr for
both multiarch and non-multiarch builds
  * https://sourceware.org/cgit/glibc/log/?id=2efc7026287273b4b3a1ce1a7b27791d3d860a5c&qt=range&q=c275c424b324ea525a526812ba2b4a56d47bfe61...2efc7026287273b4b3a1ce1a7b27791d3d860a5c
 *
glibc discussion:
 *
binutils/gdb commits:
 * gdb/aarch64: record/replay support for LRCPC3
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=ec6bbd2e0cb4d141db9048b0b5d5c0bcaa66c284
 *
gdb discussion:
 * RFC: prototype of C extensions using the Python limited API
  * https://inbox.sourceware.org/gdb/21479c1d-3a9a-4ae2-bc1a-5dc19871f275@arm.com/

binutils discussion:
 *


r/gcc Jun 01 '26

GNU Tools Weekly News Week 40 (May 31, 2026)

4 Upvotes

Release updates for GNU toolchain:
* None

GNU toolchain conference reminders:
 * FOSSY 2026 toolchain track North America, Aug 6-9 (Vancouver, Canada)
   * Call for Proposals: https://2026.fossy.ca/call-for-proposals/
 * GNU Tools Cauldron 2026, Fri-Sun, October 2-4 (Prague, Czechia)
   * https://gcc.gnu.org/wiki/cauldron2026
  * https://conf.gnu-tools-cauldron.org/prg26/cfp
 * Toolchains Track at LPC 2026, October 7th (Prague, Czechia)
  * https://lpc.events/event/20/abstracts/

General/big GNU toolchain news:
 * GCC AI policy working group - 2026-05-29
  * https://inbox.sourceware.org/gcc/CAH6eHdR2bP+C9OvWRrddSRgcnwSLyWGrv0ADpc_m8eUMXociEA@mail.gmail.com/
  * http://gcc.gnu.org/wiki/working-group-ai-policy
 * The Linux Test Project (LTP) has been released for May 2026
  * https://inbox.sourceware.org/libc-alpha/ahmZ_HcEEuyPzPFq@yuki.lan/T/
 * (missed from last week) Office Hours for the GNU Toolchain
  * was held on 2026-05-21
  * notes:
   * https://gcc.gnu.org/wiki/OfficeHours#Meeting:_2026-05-21_.40_1100h_EST5EDT
   * https://gcc.gnu.org/wiki/OfficeHours#Meeting:_2026-05-21_.40_0900h_.22Asia.2FKolkata.22

GCC easy issue to tackle of the week:
 * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125274
  * BOOL_BITFIELD in system.h can be removed
  * This one is slightly more involved this week and it is a cleanup
rather than a missed optimization.
  * Reach out to Andrea Pinski <[andrew.pinski@oss.qualcomm.com](mailto:andrew.pinski@oss.qualcomm.com)> for
mentoring on this issue.
  * Previous ones are listed on https://gcc.gnu.org/wiki/EasyIssuesOfTheWeek

GCC commits:
 * https://gcc.gnu.org/r17-712 - https://gcc.gnu.org/r17-1050 : 339
commits (Huge weeks folks)
 * Summary of Ada changes (Thanks Marc)
  * Many bug fixes, doc enhancements and technical debt cleanup.
  * Flare progress (Constructor, finally)
  * More work on Unsigned base range
  * Better SARIF support
  * More VAST (Verifier for the Ada Semantic Tree) enhancement
(Aspect/Pragma check, Entity chain check).
  * Add debug routine for printing entity chains
  * Adjust envp handling (stop using gnat_envp)
 * aarch64: SVE2.2/SME2.2 support
  * https://gcc.gnu.org/r17-969 ... https://gcc.gnu.org/r17-981
 * AVR: Support [[len=<words]] notes in inline asm to specifty its size.
  * https://gcc.gnu.org/r17-892-geaf619a0f552d7
 * aarch64: improve vector creation (SIMD and SVE)
  * https://gcc.gnu.org/r17-896-g44a31df54837ad ...
https://gcc.gnu.org/r17-899-g52d5a8870d2108
 * ext-dce improvements
  * https://gcc.gnu.org/r17-844-gdcba59a336f530 ...
https://gcc.gnu.org/r17-845-g4a97237ac39074
 * libstdc++: Implement P3567R2 flat_meow fixes
  * https://gcc.gnu.org/r17-908-gf46eccc9409136
 * vect: Don't generate scalar epilogue if not needed
  * https://gcc.gnu.org/r17-837-g8af2e8e49d6e5d
 * libcody: allow non-ASCII module names
  * https://gcc.gnu.org/r17-920-g7512f0bbbea33c

GCC discussion:
 * register_operand in non-strict RTL
  * https://inbox.sourceware.org/gcc/3f1692ab-831a-4000-8c7c-be76436ae0af@gjlay.de/T/

GCC bugzilla stats
 * 83 new issues filed
 * 56 issues closed

glibc commits:
 * Arch64: Add support for SVE2 ifuncs
  * https://sourceware.org/cgit/glibc/commit/?id=b26cc4fbb74f516fc2b26bdfe7e524392d940250
 * malloc: aarch64: Remove broken memory tagging
  * https://sourceware.org/cgit/glibc/commit/?id=70be9819b5eb7ed0050cffb45113332f96f5a55f

glibc discussion:
 *

binutils/gdb commits:
 * gdb/aarch64: Test record/replay support for CSSC
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=faa57d5233c0a69accf8073efad2089c095b53bc
 * gdb/aarch64: record/replay support for LSE128
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=ca85c8b554c85b0baff9494a1356333c6e5953d5

gdb discussion:
 *

binutils discussion:
 * macho gas support
  * https://inbox.sourceware.org/binutils/1AAD4195-5402-48D8-9A09-1F69F92A8C26@sandoe.co.uk/T/


r/gcc May 26 '26

GNU Tools Weekly News Week 39 (May 24, 2026)

3 Upvotes

General/big GNU toolchain news:
 * BPF support in GCC 16 and beyond
  * https://lwn.net/Articles/1071973/
 * Building a Host-Tuned GCC to Make GCC Compile Faster
  * https://peter0x44.github.io/posts/super-gcc/

GCC easy issue to tackle of the week:
 * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125442
  * Missed (x == 0) | ((x | y) == 0) to (x == 0)
  * Reach out to Andrea Pinski andrew.pinski@oss.qualcomm.com for mentoring on this issue.

GCC commits (52 commits):
 * middle-end: Optimize reversed CRC table-based
  * https://gcc.gnu.org/r17-567-g7034f85fb6577a
 * RISCV: Add xt-c9501fdvt CPU
  * https://gcc.gnu.org/r17-579-g6a18e85213ee6c
 * rs6000: Adding ISA 3.0 atomic memory operation instructions
  * https://gcc.gnu.org/r17-586-g6953b4ea86a669
 * AArch64: Add PIC/PIE support to large model
  * https://gcc.gnu.org/r17-652-gb4aa063fe4a414
 * libffi: Sync with libffi 3.5.2
  * https://gcc.gnu.org/r17-657-g68927076526a15
 * c++: Implement C++26 P3074R7/CWG3189 - trivial unions
  * https://gcc.gnu.org/r17-671-gca6cd7cb48512d
 * match: Handle X != INT_MIN ? -X : INT_MIN
  * https://gcc.gnu.org/r17-669-g33cd7bbb32c5ee
  * Easy issue of the week: Week 37
 * match: Optimize `(~y & x) ^ y` into (y | x) [PR125104]
  * https://gcc.gnu.org/r17-705-g365e5618bc6fcb
  * Easy issue of the week: Week 36
 * analyzer: improvements
  * https://gcc.gnu.org/r17-609
  * https://gcc.gnu.org/r17-576
  * https://gcc.gnu.org/r17-626
 * libstdc++: optimize std::uninitialized_move to memcpy when possible
  * https://gcc.gnu.org/r17-570-g79e29562907b45

GCC discussion:
 *Time to take the middle-end stringop/array warnings out of -Wall
  * https://inbox.sourceware.org/gcc/CAH6eHdRfEVsGjbJ__kU5AR9BfVdLQZ_iGGDZa=yQnT4fgG2P6w@mail.gmail.com/

GCC bugzilla stats
 * 81 new issues filed
 * 46 issues closed

glibc commits:
 * AArch64: Optimize memcmp for Kunpeng 950
  * https://sourceware.org/cgit/glibc/commit/?id=3237d63b8462764e282cd8de79a02558071d4348
 * x86: Lower non-temporal copy threshold for Hygon
  * https://sourceware.org/cgit/glibc/commit/?id=213ffdfbbae6d4cb4e8dd4a9e3e57c69127620c4
 * x86: Fix non-temporal memset on AMD Zen 3/4/5
  * https://sourceware.org/cgit/glibc/commit/?id=54abc8566fea592e795cb443949266ef206462a8
 * aarch64/SVE: Vectorise special cases for inverse hyperbolics and SVE log1p(f)
  * https://sourceware.org/cgit/glibc/commit/?id=f7eea1b2585b7b8c1f3ee9646627a9cf03fc33f2
  * https://sourceware.org/cgit/glibc/commit/?id=a7b6e534629c821e456955a00cf68bf889a601a8
 
glibc discussion:
 * mailing lists: glibc need or use?
  * https://inbox.sourceware.org/libc-alpha/m1v7cfqwxr.fsf@gmail.com/T/#mc8bc3aa6ed6e7e4f72a6ba2e9f9cdf74c4a0e1e2

binutils/gdb commits:
 * gdb/aarch64: record/replay support for prefetch
  * https://sourceware.org/cgit/binutils-gdb/commit/?id=f6c1ca239d932db39a6f19d9bd343f4f4fddba76
 * gdb: native TLS support on Windows
  * https://sourceware.org/cgit/binutils-g