This is the mail archive of the gcc-patches@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: fixinc Patch to deprecate casts as lvalues for C


"Joseph S. Myers" wrote:
> 
> On Mon, 20 Oct 2003, Bruce Korb wrote:
> 
> >  *  because ``*((TYPE*)PTRVAR1)'' is not always legal l-value.
> 
> The non-lvalue is (given precedence) actually ((TYPE*)PTRVAR1).  The
> obstack.h code is confusing!  How about the following fixinc patch with
> what I hope is an accurate comment?

OK.  Very happy now, even with a minor headache.  :-)


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