This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Evaluation order of &&s in ||, in macro INDEX_TERM_P, in vax.h
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: Evaluation order of &&s in ||, in macro INDEX_TERM_P, in vax.h
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 13 Jun 2000 09:44:37 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200006121518.LAA09064@hiauly1.hia.nrc.ca>you write:
> > The following patch to vax.h squashes a few warnings about &&s in ||,
> > and might slightly improve the code generated by the INDEX_TERM_P macro.
>
> Revised the patch to squelch signed/unsigned warnings from comparision.
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6
> 605)
>
> 2000-06-12 J. David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
> cast to squelch signed/unsigned warnings.
Thanks. Installed.
jeff