On Wed, 17 Jul 2024, Jakub Jelinek wrote: > On Wed, Jul 17, 2024 at 11:10:34AM +0200, Richard Biener wrote: > > OK. It's a bit late for the 11 branch without some soaking on trunk - > > when do we use __builtin_clear_padding? IIRC for C++ atomics? > > Apparently in GCC 11 only if one uses the builtin directly, I wrote the > support primarily for libstdc++, but it started using it only in GCC 13. > And GCC 12 and later uses it for -ftrivial-auto* and OpenMP atomics. > > So maybe it won't be that serious problem if GCC 11.5 is without this fix.
OTOH that also means pushing it there should be quite safe. Richard.