cvs commit: src/bin/ed Makefile re.c
Ruslan Ermilov
ru at FreeBSD.org
Sun Jul 20 05:04:48 PDT 2003
On Sun, Jul 20, 2003 at 09:57:26PM +1000, Bruce Evans wrote:
> On Sun, 20 Jul 2003, Ruslan Ermilov wrote:
>
> > ru 2003/07/20 03:24:09 PDT
> >
> > FreeBSD src repository
> >
> > Modified files:
> > bin/ed Makefile re.c
> > Log:
> > Make this code WARNS=6 clean again (after GCC 3.1.1 import).
>
> gcc-3.3?
>
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.
>
Why is this a bug in gcc? Compiling re.c,v 1.19 like this works:
make WARNS=6 re.o DEBUG_FLAGS=-fno-builtin
> pwd/pwd.c has regressed similarly (except 'lg' is a worse variable
> name than `log' for a variable related to "logical").
>
> I think we mostly avoided mangling variables named `sin' but there
> are some of these to demangle too.
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030720/b706a738/attachment.bin
More information about the cvs-src
mailing list