This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to make -Wpointer-arith work with glibc 2.1.2pre3
- To: Jim Kingdon <kingdon at redhat dot com>
- Subject: Re: patch to make -Wpointer-arith work with glibc 2.1.2pre3
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 9 Sep 1999 16:55:34 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <199909070000.UAA11412@devserv.devel.redhat.com>
On Mon, Sep 06, 1999 at 08:00:26PM -0400, Jim Kingdon wrote:
> ! { pedantic = ($<itype>1) & 1;
> ! warn_pointer_arith = (($<itype>1) >> 1) & 1; }
This could all be tidied a bit by creating a couple of macros near
the beginning of c-parse.in to do the encoding and decoding. Also,
setting the type of `extension' means $<itype>1 can be written $1.
r~