https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111659
Bug ID: 111659 Summary: document that -Wstrict-flex-arrays depends on -ftree-vrp Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: crrodriguez at opensuse dot org Target Milestone: --- For -Wstrict-flex-arrays to be useful -ftree-vrp must be on..which is not the case when building with -Og or -O1 . It will be nice for this to be documented everywhere this option is mentioned so people do not bang their heads against the table like me wondering why Im getting no warnings on obvious code.