This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: , operand with no effect warning
- To: John Levon <moz at compsoc dot man dot ac dot uk>
- Subject: Re: , operand with no effect warning
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Tue, 31 Jul 2001 09:13:49 +1000
- Cc: gcc at gcc dot gnu dot org
- References: <20010730203002.A6393@compsoc.man.ac.uk>
On 30-Jul-2001, John Levon <moz@compsoc.man.ac.uk> wrote:
>
> Why does gcc warn for :
>
> p1, p2;
>
> but not :
> delete p1, p2;
>
> ?
I don't know; the lack of a warning in the latter case looks to me like a bug.
--
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.