[Bug tree-optimization/111730] erroneous alloc-size-larger-than warning with -O1

2023-10-08 Thread xavier.cooney03 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111730 --- Comment #4 from Xavier Cooney --- I see, thanks for looking into this. The unreduced test case (which was from a student confused about the error message) was still passing a value to `malloc` which from the context which gcc could see wasn

[Bug c/111730] New: erroneous alloc-size-larger-than warning with -O1

2023-10-08 Thread xavier.cooney03 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111730 Bug ID: 111730 Summary: erroneous alloc-size-larger-than warning with -O1 Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone