C++ PATCH for c++/53756 (-g and C++1y auto)
Jason Merrill
jason@redhat.com
Wed Jan 29 16:42:00 GMT 2014
On 01/28/2014 04:35 PM, Paolo Carlini wrote:
> + if (is_cxx ())
> + {
> + tree name = TYPE_NAME (type);
> + if (TREE_CODE (name) == TYPE_DECL)
> + name = DECL_NAME (name);
> + if (name == get_identifier ("auto"))
> + return 0;
Rather than duplicate this code, let's factor it out into a separate
function.
Also, your ChangeLog has nothing to do with the patch. :)
Jason
More information about the Gcc-patches
mailing list