Re: compiler warnings on the buildfarm - Mailing list pgsql-hackers

From Stefan Kaltenbrunner
Subject Re: compiler warnings on the buildfarm
Date
Msg-id 46969B86.4040908@kaltenbrunner.cc
Whole thread Raw
In response to Re: compiler warnings on the buildfarm  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
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.

this one is from
http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=caracara&dt=2007-07-12%20200001&stg=make-contrib

as I'm going through the warnings in contrib now.


Stefan


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: compiler warnings on the buildfarm
Next
From: Heikki Linnakangas
Date:
Subject: Re: compiler warnings on the buildfarm