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: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Mon, 30 Jul 2001 18:01:11 -0400
- Cc: gcc at gcc dot gnu dot org
- References: <20010730203002.A6393@compsoc.man.ac.uk>
On Mon, Jul 30, 2001 at 08:30:03PM +0100, John Levon wrote:
>
> Why does gcc warn for :
>
> p1, p2;
Because this has no effect.
> but not :
> delete p1, p2;
Because this does have an effect.
Phil
--
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
- anonymous Egyptian scribe, c.1700 BC