Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 43DF39FBA29 for ; Thu, 12 Jul 2007 19:30:40 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 40788-06-2 for ; Thu, 12 Jul 2007 19:30:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.194]) by postgresql.org (Postfix) with ESMTP id 7741F9FB58E for ; Thu, 12 Jul 2007 19:30:36 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1I97B6-0001ao-IV; Thu, 12 Jul 2007 23:30:28 +0100 From: Gregory Stark To: "Heikki Linnakangas" Cc: "Alvaro Herrera" , "Stefan Kaltenbrunner" , "Tom Lane" , "PostgreSQL-development" Subject: Re: compiler warnings on the buildfarm In-Reply-To: <4696A5F1.3010103@enterprisedb.com> (Heikki Linnakangas's message of "Thu, 12 Jul 2007 23:06:41 +0100") Organization: EnterpriseDB References: <46962BBD.5000108@kaltenbrunner.cc> <17428.1184249229@sss.pgh.pa.us> <469653BA.2040004@kaltenbrunner.cc> <20070712211918.GD22973@alvh.no-ip.org> <46969C98.60207@enterprisedb.com> <20070712213806.GE22973@alvh.no-ip.org> <4696A5F1.3010103@enterprisedb.com> X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.hackers" 11302) Date: Thu, 12 Jul 2007 23:30:28 +0100 Message-ID: <87y7hl5k6z.fsf@oxford.xeocode.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/353 X-Sequence-Number: 105268 "Heikki Linnakangas" writes: > The warning seems to be in related array indexing. If you replace ptr - > GETARR(trg) with a constant, the warning goes away. But having "i = ptr - > GETARR(trg)" in there doesn't give a warning. Can you compile with -save-temps and send the corresponding assembly file? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com