On Fri, 13 Feb 2015, Marek Polacek wrote:

> Since we had no testing for such cases whatsoever, I took existing flexible
> array member tests and duplicated them, only adjusted them to use a typedef
> name, so that we test as many scenarios as possible - I think this ought to
> give us a reasonable level of confidence that this works as expected now.
> 
> Bootstrapped/regtested on {ppc64,x86_64}-linux, ok for trunk?

OK, though the use of

/* { dg-bogus "warning" "warning in place of error" } */

is a relic of when dg-error / dg-warning used not to verify that 
diagnostics were in fact errors / warnings; now they do check that, simply 
using dg-error (on the line with the diagnostic, so not needing { target 
*-*-* } and a line number) suffices rather than needing such a dg-bogus / 
dg-error pair.

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

Reply via email to