This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi,

On 01/29/2014 09:49 PM, Jason Merrill wrote:
OK, thanks.
Applied.
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.
Interesting. If you like we can do now the below, as preparatory clean-up for the above, which I would do when 4.9 branches.

Thanks,
Paolo.

/////////////////////

Attachment: CL
Description: Text document

Attachment: patchlet
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]