This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ extension "cast-as-lvalues": time to deprecate?
Fergus Henderson <fjh@cs.mu.OZ.AU> writes:
| On 09-May-2003, Joseph S. Myers <jsm28@cam.ac.uk> wrote:
| > On Fri, 9 May 2003, Fergus Henderson wrote:
| >
| > > Are you suggesting just deprecating it just in C++, or also in C?
| > >
| > > I would prefer that it not be deprecated.
| > > The reason is that this is a useful extension in C
| >
| > I would like it deprecated in C. There is an excessive amount of
| > complicated code in the C front end to implement this extension, it
| > creates lvalues whose address cannot be taken,
|
| C already has lvalues whose address cannot be taken: registers.
That is not a sufficient reason to keep this extension which is causing
many griefs.
-- Gaby