On 04/10/2012 04:23 PM, Fabien Chêne wrote:
Ah yes, that's slightly better.
(I've kept the NULL check in strip_using_decl, it seems safer to me.
Just tell me if you prefer not)
Tested x86_64-unkown-linux-gnu. OK for trunk and 4.7 ?

2012-03-08  Fabien Chêne<fab...@gcc.gnu.org>

        PR c++/52465
        * decl.c (grokdeclarator): Call strip_using_decl.
        * parser.c (cp_parser_class_name): Call strip_using_decl and
        perform some checks on the target decl.
        * name-lookup.c (strip_using_decl): Returns NULL_TREE if the decl
        to be stripped is NULL_TREE.
        (qualify_lookup): Call strip_using_decl and perform some checks on
        the target decl.

Your ChangeLog needs to be adjusted.  :)

The patch is OK, thanks!

Jason

Reply via email to