On Thu, 23 Jan 2014, Marek Polacek wrote:

> > 2014-01-16  Marek Polacek  <pola...@redhat.com>
> > 
> >     PR c/58346
> > c-family/
> >     * c-common.c (pointer_to_zero_sized_aggr_p): New function.
> >     * c-common.h: Declare it.
> > cp/
> >     * typeck.c (pointer_diff): Give an error on arithmetic on pointer to
> >     an empty aggregate.
> > c/
> >     * c-typeck.c (pointer_diff): Give an error on arithmetic on pointer to
> >     an empty aggregate.
> > testsuite/
> >     * c-c++-common/pr58346-1.c: New test.
> >     * c-c++-common/pr58346-2.c: New test.
> >     * c-c++-common/pr58346-3.c: New test.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to