This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Kill lang_id2
Gabriel Dos Reis wrote:-
> Zack Weinberg <zack@codesourcery.com> writes:
>
> [...]
>
> | > ! tree implicit_decl;
> | > ! tree error_locus;
> |
> | These fields are never used in correct C++ programs -- there is no
> | such thing as an implicit declaration in C++, and error_locus is for
> | only complaining about undeclared variables once per function.
>
> These are left over from the era when the C++ front-end started as a
> perfect clone of the C's.
Gee, some code sure sticks around beyond its welcome.
Neil.