Path: utzoo!yunexus!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%tully.Berkeley.EDU From: mcgrath%tully.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) Newsgroups: gnu.gcc.bug Subject: Bug in either GCC 1.31 grammar or in Bison Message-ID: <8811240803.AA03068@tully.Berkeley.EDU> Date: 24 Nov 88 08:03:28 GMT Article-I.D.: tully.8811240803.AA03068 Sender: daemon@tut.cis.ohio-state.edu Reply-To: roland@wheaties.ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 There seems to be a bug in either the GCC 1.31 grammar (c-parse.y) or is Bison. The bug is independent of what machine GCC is configured for, but I'm using a Sun 3 running Sun Unix 3.2. For some reason, the parser gags on multiple clobbered registers in `asm' statements. The file: foo (){ asm("insn" : : "r0", "r1"); } produces: bug1: In function foo: bug1:2: parse error before `,' It doesn't complain about only one clobbered register.