Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 66D2CB5DC1F for ; Tue, 18 Oct 2011 15:22:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 29179-04 for ; Tue, 18 Oct 2011 18:22:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E4DBCB5DC04 for ; Tue, 18 Oct 2011 15:22:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9IIMLjQ008665; Tue, 18 Oct 2011 14:22:21 -0400 (EDT) To: Robert Young cc: pgsql-bugs@postgresql.org Subject: Re: incompatible pointer type In-reply-to: References: Comments: In-reply-to Robert Young message dated "Tue, 18 Oct 2011 10:03:39 -0000" Date: Tue, 18 Oct 2011 14:22:20 -0400 Message-ID: <8664.1318962140@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/162 X-Sequence-Number: 31432 Robert Young writes: > Platform: > OpenBSD 4.9 GENERIC.MP#819 amd64 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz Hmm, what version of bison are you using? Because the ones I've dealt with emit typedef union YYSTYPE { ... } YYSTYPE; which makes the code correct as-is. Your proposed patch seems to me to be making more assumptions about what bison will emit (specifically, about the ordering of various code blocks) than what we're doing now. regards, tom lane