[Bug middle-end/99098] invalid/missing -Wfree-nonheap-object warnings

2023-08-29 Thread pross at xvid dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99098 --- Comment #5 from Peter Ross --- The -1 occurs after checking the malloc()==0 case, so the negative offset is only ever applied to addresses in [1..limit] range. Thanks for your time!

[Bug middle-end/99098] invalid/missing -Wfree-nonheap-object warnings

2023-08-29 Thread pross at xvid dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99098 --- Comment #3 from Peter Ross --- Created attachment 55814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55814&action=edit Test case -save-temps output

[Bug middle-end/99098] invalid/missing -Wfree-nonheap-object warnings

2023-08-29 Thread pross at xvid dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99098 Peter Ross changed: What|Removed |Added CC||pross at xvid dot org --- Comment #2 from P