C++ extension "cast-as-lvalues": time to deprecate?

Fergus Henderson fjh@cs.mu.OZ.AU
Fri May 9 12:38:00 GMT 2003


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.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc mailing list