This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC-3.2.2 bootstrap FAILURE: 1 reduce/reduce conflict in objc-parse.y
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: Ziemowit Laski <zlaski at apple dot com>, Gabriel Dos_Reis <gdosreis at sophia dot inria dot fr>, <gcc-bugs at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Date: 28 Jan 2003 08:31:34 +0100
- Subject: Re: GCC-3.2.2 bootstrap FAILURE: 1 reduce/reduce conflict in objc-parse.y
- Organization: Integrable Solutions
- References: <Pine.LNX.4.33.0301280715530.6246-100000@kern.srcf.societies.cam.ac.uk>
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
| On Mon, 27 Jan 2003, Ziemowit Laski wrote:
|
| > > An objc maintainer needs to review
| > > <http://gcc.gnu.org/ml/gcc-bugs/2003-01/msg00900.html>.
| >
| > I'm not the maintainer, but the patch is wrong. One cannot replace
| > 'protocolrefs' with 'non_empty_protocolrefs', as they are optional.
|
| A reduce/reduce conflict is still a bug, even if the fix is more
| complicated. Removing %expect is only a workaround.
It appears that even if the '%expect' directive is left there, then
the compiler could still be build with a version of Bison that does not
turn the warning into an error. That is the case for every version of
Bison since 1.28 except 1.875.