This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Kill lang_id2
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>, gcc-patches at gcc dot gnu dot org
- Date: 30 Apr 2003 22:25:08 +0200
- Subject: Re: [C++ PATCH] Kill lang_id2
- Organization: Integrable Solutions
- References: <1051731559.735.181.camel@steven><87brynaggv.fsf@egil.codesourcery.com>
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.
-- Gaby