https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92067
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #4) > Do other standard library implementations depend on the compiler to diagnose > this? I don't think they enforce it at all (it's IFNDR).