http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58346
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- I think some of the uses of the zero-size-objects extension are ones for which making an array of such objects is reasonable, but it makes sense to give an error for trying to subtract pointers to such objects.