bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in bison 1.875


From: Martin MOKREJŠ
Subject: Re: bug in bison 1.875
Date: Tue, 4 Mar 2003 11:10:00 +0100 (CET)

On Mon, 3 Mar 2003, Paul Eggert wrote:

> Martin MOKREJŠ <address@hidden> writes:
>
> > > I'd prefer a solution that actually reflects the problem, not some
> > > arbitrary thing like a version number
> >
> > But the bug really is in the compiler.
>
> The bug may happen in the same compiler with other version number, or
> in other seemingly-unrelated compilers with entirely different version
> numbers.  If the bug is common enough for us to be worried about, we
> should test for its presence instead of looking for a particular
> compiler name and version number (which would be a neverending task to
> keep track of).
>
> It's also conceivable that there is a bug in Bison, not your compiler.
> For example, the bug might be a portability problem, which is
> manifested on your implementation (with some combination of
> compile-time options) but not on other implementations.  If so, we
> should fix the Bison bug.

So, with older c compiler, there is only one of the "make check" tests
that fail. But, the "bool" bug seen in configure.log is there too. It has
been comfirmed by the COMPAQ engineers.


cxxosf.zko.dec.com> $RTS_COMPILER -c t2.c
cc: Error: t2.c, line 2: Bug found in compiler: generate_address_constant
:
Unexpected opcode. (compilerbug)
_Bool  e = &i;
-----------^
Internal compiler error detected at line 1512 in file
/usr/proj/decc2/mainline/src/me_gemc/initgen.c.
cc: Fatal: A memory access violation (bus error or segmentation fault)
has occurred.  Please submit a problem report.


cxxosf.zko.dec.com> cat t2.c
int i;
_Bool  e = &i;



So, probably add this testcase to configure checks. I'm attaching the
testsuite.log file, with one bug which is always present regardless the
version of c compiler I use.

-- 
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

Attachment: testsuite.og-O-old-cc
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]