This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]