C++ PATCH for c++/53756 (-g and C++1y auto)

Jason Merrill jason@redhat.com
Wed Jan 29 20:49:00 GMT 2014


OK, thanks.

> By the way, when I said 3/4 uses (in fact, at least 4 in the file), I meant the pattern:
>
>         tree name = TYPE_NAME (type);
>         if (TREE_CODE (name) == TYPE_DECL)
>           name = DECL_NAME (name);
>
> which I noticed yesterday. Could be a new macro? (post 4.9 maybe)

Sure.  Maybe call it TYPE_IDENTIFIER, replacing the one in cp-tree.h 
with a conditional one in tree.h.

Jason



More information about the Gcc-patches mailing list