https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126158
--- Comment #3 from Ville Voutilainen <ville.voutilainen at gmail dot com> --- (In reply to Jason Merrill from comment #2) > (In reply to Drea Pinski from comment #1) > > This is currently by design. > > Basically the experimental part of libstdc++ is only linked when using it. > > Yes, but why shouldn't the experimental -std=c++26 include that? Indeed. If --std=c++26 -fcontracts does, it's baffling that --std=c++26 alone doesn't.
