agora inbox for pgsql-hackers@postgresql.org
help / color / mirror / Atom feedFrom: Heikki Linnakangas <heikki@enterprisedb.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: compiler warnings on the buildfarm
Date: Thu, 12 Jul 2007 22:26:48 +0100
Message-ID: <46969C98.60207@enterprisedb.com> (raw)
In-Reply-To: <20070712211918.GD22973@alvh.no-ip.org>
References: <46962BBD.5000108@kaltenbrunner.cc>
<17428.1184249229@sss.pgh.pa.us>
<469653BA.2040004@kaltenbrunner.cc>
<20070712211918.GD22973@alvh.no-ip.org>
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
view thread (67+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: heikki@enterprisedb.com, alvherre@commandprompt.com, stefan@kaltenbrunner.cc, tgl@sss.pgh.pa.us
Subject: Re: compiler warnings on the buildfarm
In-Reply-To: <46969C98.60207@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox