[Bug tree-optimization/118865] [12/13/14/15 regression] -Wfree-nonheap-object false positive

2025-02-13 Thread snyder at bnl dot gov via Gcc-bugs
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!

[Bug c++/118867] New: [15 regression] -Wfree-nonheap-object false positive

2025-02-13 Thread snyder at bnl dot gov via Gcc-bugs
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

[Bug tree-optimization/118865] [12/13/14/15 regression] -Wfree-nonheap-object false positive

2025-02-13 Thread snyder at bnl dot gov via Gcc-bugs
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...

[Bug c++/118865] New: [15 regression] -Wfree-nonheap-object false positive

2025-02-13 Thread snyder at bnl dot gov via Gcc-bugs
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