Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8C5F89FB560 for ; Thu, 12 Jul 2007 18:27:52 -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 24252-03 for ; Thu, 12 Jul 2007 18:27:45 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by postgresql.org (Postfix) with ESMTP id 74FB89FB324 for ; Thu, 12 Jul 2007 18:27:49 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so471758ugf for ; Thu, 12 Jul 2007 14:27:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=W4TpCok7HOkrNbVJ9RgnCwHTVmdtzmgIL3gRa+3rIoucfQd12DnSVqgbTR1/FZETybXGXK+xV2syj52bWBGlvyMGQ13cmCYqdeDe5A2zdoGdfSQ/aDxTIYTdALJO8kqajTIcha1YkvfkMJbVabbnE+hohebsjgSMuFDdao2HbSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=MEHMwiOKQ8mkXJpclNMUOBJ3LbnZqSg1nFkmhZWaRzBBXKSW+6pSUrvP4cA2BIhNxWyko4f2hcp1LzK5LeNX44tIa+1imOOFu2k3k+57ShwfoM5MGEdQGUJBOpq7nJ23k7/a6GKCqeJGUf9FY7EOrdnLbZ4pstmNMLDIW7TClgg= Received: by 10.82.111.8 with SMTP id j8mr1279507buc.1184275663911; Thu, 12 Jul 2007 14:27:43 -0700 (PDT) Received: from ?192.168.1.33? ( [86.27.69.36]) by mx.google.com with ESMTP id h7sm3908687nfh.2007.07.12.14.27.39 (version=SSLv3 cipher=RC4-MD5); Thu, 12 Jul 2007 14:27:41 -0700 (PDT) Message-ID: <46969C98.60207@enterprisedb.com> Date: Thu, 12 Jul 2007 22:26:48 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Alvaro Herrera CC: Stefan Kaltenbrunner , Tom Lane , PostgreSQL-development Subject: Re: compiler warnings on the buildfarm References: <46962BBD.5000108@kaltenbrunner.cc> <17428.1184249229@sss.pgh.pa.us> <469653BA.2040004@kaltenbrunner.cc> <20070712211918.GD22973@alvh.no-ip.org> In-Reply-To: <20070712211918.GD22973@alvh.no-ip.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/348 X-Sequence-Number: 105263 Alvaro Herrera wrote: > Stefan showed me via Jabber this warning: > > /tmp/ccM7MfqX.s: Assembler messages: > /tmp/ccM7MfqX.s:703: Warning: 00000003fffffffc shortened to 00000000fffffffc > /tmp/ccM7MfqX.s:738: Warning: 00000003fffffffc shortened to 00000000fffffffc > > He says that this comes from trgm_op.c file. I don't get the warning > myself obviously, so I started guessing. > > 3FFFFFFFC = 1111111111111111111111111111111100 > FFFFFFFC = 11111111111111111111111111111100 > > So the upper 2 bits are being lost (the second number is 32 bits wide). > > The only thing that I think is related is the usage of VARSIZE(). It > looks like 0x3FFFFFFF (actual constant in the toast code) is shift two > bits left. I can see no such operation though. The shift is in postgres.h, SET_VARSIZE_4B. I have no idea where that warning is coming from, though. What's the real source behind "ccM7MfqX.s"? -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com