Re: [HACKERS] "left shift of negative value" warnings - Mailing list pgsql-hackers

From Markus Nullmeier
Subject Re: [HACKERS] "left shift of negative value" warnings
Date
Msg-id aae03cf9-36b7-57b3-6493-f4a9e31f4b97@ix.urz.uni-heidelberg.de
Whole thread Raw
In response to Re: [HACKERS] "left shift of negative value" warnings  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 10/04/17 22:19, Andres Freund wrote:
> I guess the motivation is that it's not entirely clear what happens with
> the sign bit, when shifting.

Indeed, certain one's complement CPUs even "outlived" C99 by a small
margin, as it were:
http://mainframe.typepad.com/blog/2012/10/sad-day-unisys-abandons-its-mainframe-processors.html

And the respective ABI will be around for some time to come, apparently:
https://www.theregister.co.uk/2016/03/31/free_x86_mainframes_for_all_virtual_mainframes_that_is

:-)

-- 
Markus Nullmeier            http://www.g-vo.org
German Astrophysical Virtual Observatory (GAVO)




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Some thoughts about SCRAM implementation
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] [sqlsmith] ERROR: badly formatted node string "RESTRICTINFO...