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: Thu, 24 Apr 2003 11:37:29 +0200 (CEST)

On Thu, 23 Apr 2003, Paul Eggert wrote:

> Martin MOKREJ? <address@hidden> writes:
>
> > I've right now handy the old bugreport. As far as I can see, it used to say
> > "no". I'll double check current cvs tommorow. But $?=1 should be the
> > answer, right?
>
> It should be some nonzero value, yes.  Depending on whether it's zero,
> we can focus on which part of the "configure" shell script is at fault.

configure:4876: checking for stdbool.h that conforms to C99
configure:4930: cc -c -O2 -arch ev56 -I/software/@sys/usr/include 
-I/usr/local/include -I/usr/local/openssl/include conftest.c >&5
cc: Error: configure, line 4938: Bug found in compiler: 
generate_address_constant : Unexpected opcode. (compilerbug)
          bool e = &s;
-------------------^
Internal compiler error detected at line 1512 in file 
/usr/proj/decc2/ccdtk-v4-2/src/me_gemc/initgen.c.
cc: Fatal: A memory access violation (bus error or segmentation fault)
has occurred.  Please submit a problem report.
configure:4933: $? = 1
configure: failed program was:
| #line 4881 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU Bison"
| #define PACKAGE_TARNAME "bison"
| #define PACKAGE_VERSION "1.875a"
[....]
|         char a[true == 1 ? 1 : -1];
|         char b[false == 0 ? 1 : -1];
|         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|         char d[(bool) -0.5 == true ? 1 : -1];
|         bool e = &s;
|         char f[(_Bool) -0.0 == false ? 1 : -1];
|         char g[true];
|         char h[sizeof (_Bool)];
|         char i[sizeof s.t];
|
| int
| main ()
| {
|  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
|   ;
|   return 0;
| }
configure:4950: result: no

Strange. So it look for 1.875a it works properly, i.e. detects that
compiler failed, right?

-- 
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




reply via email to

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