https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93697
Bug ID: 93697 Summary: pr93661.c does not warn on (32-bit) powerpc-linux Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: segher at gcc dot gnu.org Target Milestone: --- The new testcase pr93661.c does not warn. int f () { unsigned x = 0xffffffff; __builtin_memset (1+(char *) &x, 0, -1); /* { dg-warning "maximum object size" } */ return (x != 0xf0000000); } (-O2). It *does* warn at -O0.