On Tue, 15 Sep 2015, Marek Polacek wrote:

> Currently, when one writes a code that is missing the struct/union/enum
> tag, we get less than ideal error message.  The following patch improves
> the situation a bit by giving a hint to the user.
> 
> I couldn't use lookup_tag as that gives the "defined as wrong kind of tag"
> error; instead I wrote a new predicate.
> 
> Bootstrapped/regtested on x86_64-linux, ok for trunk?

OK.

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

Reply via email to