https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116951
Bug ID: 116951 Summary: Use -D_GLIBCXX_ASSERTIONS for --enable-checking=yes Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: arsen at gcc dot gnu.org, redi at gcc dot gnu.org Target Milestone: --- Perhaps --enable-checking=yes (default for non-releases) should set -D_GLIBCXX_ASSERTIONS. It's easier if we wire things up to the existing mechanisms rather than ask people to know about misc. additional flags to set. This would've helped catch PR116225 (see my remarks there about CI too). Jonathan, wdyt?