Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!heather.pooh.com!bruce From: bruce@heather.pooh.com (Bruce Robertson) Newsgroups: gnu.utils.bug Subject: Bug in latest bison Message-ID: Date: 19 Mar 89 04:26:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33 Two bugs, actually. The first "bug" is that the README file asks you to mention the version and date from the ChangeLog file in bug reports, but there is no ChangeLog file in the tar file. The second problem shows up when compiling with GCC, as opposed to compiling with a "traditional" compiler. An external variable is declared in a function other than the one in which it is referenced. Here's a context diff: *** ORIG/reduce.c Sat Mar 18 20:24:32 1989 --- reduce.c Sat Mar 18 20:24:46 1989 *************** *** 112,118 **** reduce_grammar () { bool reduced; - extern int fixed_outfiles; /* Allocate the global sets used to compute the reduced grammar */ --- 112,117 ---- *************** *** 540,545 **** --- 539,546 ---- static void print_notices () { + extern int fixed_outfiles; + if (fixed_outfiles && nuseless_productions) fprintf(stderr, "%d rules never reduced\n", nuseless_productions);