Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 15:04:38 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ed Makefile re.c
Message-ID:  <20030720120438.GD47250@sunbay.com>
In-Reply-To: <20030720213903.J595@gamplex.bde.org>
References:  <200307201024.h6KAO9tk009943@repoman.freebsd.org> <20030720213903.J595@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--+KJYzRxRHjYqLGl5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 20, 2003 at 09:57:26PM +1000, Bruce Evans wrote:
> On Sun, 20 Jul 2003, Ruslan Ermilov wrote:
>=20
> > ru          2003/07/20 03:24:09 PDT
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     bin/ed               Makefile re.c
> >   Log:
> >   Make this code WARNS=3D6 clean again (after GCC 3.1.1 import).
>=20
> gcc-3.3?
>=20
Typo.

> The bug is in gcc-3.3, so it shouldn't be fixed here.  `expr' may
> be a better variable name than `exp' for a variable related to
> expressions, but this is just a minor style issue.
>=20
Why is this a bug in gcc?  Compiling re.c,v 1.19 like this works:

make WARNS=3D6 re.o DEBUG_FLAGS=3D-fno-builtin

> pwd/pwd.c has regressed similarly (except 'lg' is a worse variable
> name than `log' for a variable related to "logical").
>=20
> I think we mostly avoided mangling variables named `sin' but there
> are some of these to demangle too.

--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--+KJYzRxRHjYqLGl5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/GoVWUkv4P6juNwoRArlIAJ9Y3s/TvZBD66cUbGvdgvzpFk3fkACfQFq+
nAOk67TE4gnokmZlQs0EAZ0=
=7SPA
-----END PGP SIGNATURE-----

--+KJYzRxRHjYqLGl5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030720120438.GD47250>