This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Merge status
Ian Lance Taylor <ian@wasabisystems.com> writes:
> > | Yes, this is why I think it would be wise to have an unconditional
> > | warning for lvalue casts for two or three releases before actually
> > | removing the code. It gives people a reasonable chance to fix their
> > | code, while letting their users simply ignore the warnings.
> >
> > If you prepare such patch against 3.3.4, I would accept it.
>
> Here is the 3.3.4 patch. This is minimal--I didn't try to add any new
> test cases or anything like that.
>
> It passed the C testsuite. I'm running a i686-pc-linux-gnu bootstrap
> now.
Passed bootstrap. OK for 3.3 branch?
Ian
> 2004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
>
> Backport:
> 2003-11-08 Joseph S. Myers <jsm@polyomino.org.uk>
>
> * c-typeck.c (pedantic_lvalue_warning): Deprecate compound
> expressions as lvalues.
> * doc/extend.texi: Document that all extended lvalues are now
> deprecated.
>
> 2003-11-05 Joseph S. Myers <jsm@polyomino.org.uk>
>
> * c-typeck.c (pedantic_lvalue_warning): Deprecate use of
> conditional expressions as lvalues.
>
> 2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
>
> * c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
> deprecation of casts as lvalues.
> * fixinc/inclhack.def (obstack_lvalue_cast): New fix.
> * fixinc/fixincl.x: Regenerate.