This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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. :-)