https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118865
--- Comment #9 from scott snyder ---
(In reply to Andrew Pinski from comment #8)
See bug 118867, thanks!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118867
Bug ID: 118867
Summary: [15 regression] -Wfree-nonheap-object false positive
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118865
--- Comment #7 from scott snyder ---
Thanks Andrew!
It appears that i was too aggressive in reducing the original source,
which as far as i can tell does handle empty containers properly.
For the record, it can be seen here (not my code, BTW...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118865
Bug ID: 118865
Summary: [15 regression] -Wfree-nonheap-object false positive
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo