https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85643
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-05-08 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. In both f3() and f4() the destination at a non-zero offset is represented as a MEM_REF(ADDR_EXPR(VAR_DECL(data)), offset) that the warning isn't prepared to deal with the same way as when the offset is zero.