From: Andres Freund <andres@2ndquadrant.com>
To: Jeffrey Walton <noloader@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Clang 3.3 findings and Illegal Shifts
Date: Wed, 13 Nov 2013 08:35:25 +0100
Message-ID: <20131113073525.GB5666@awork2.anarazel.de> (raw)
In-Reply-To: <CAH8yC8mdYJcDQEV+GJGpaOMqx3ECEONgsH0xqC4EwGicEMrN3w@mail.gmail.com>
References: <CAH8yC8mdYJcDQEV+GJGpaOMqx3ECEONgsH0xqC4EwGicEMrN3w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 2013-11-12 19:58:31 -0500, Jeffrey Walton wrote:
> Here are Clang 3.3 findings regarding illegal shifts. The code will be
> subject to removal by the compiler and optimizer (and linker if LTO is
> used).
> /home/jwalton/postgresql-9.3.1/src/test/regress/./tmp_check/data/base/1
> ... localtime.c:127:20: runtime error: left shift of negative value -1
Those all seem to be runtime errors, so they aren't likely to be removed
by the compiler. That's not to say they shouldn't be looked at though.
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@2ndquadrant.com, noloader@gmail.com
Subject: Re: Clang 3.3 findings and Illegal Shifts
In-Reply-To: <20131113073525.GB5666@awork2.anarazel.de>
References: <CAH8yC8mdYJcDQEV+GJGpaOMqx3ECEONgsH0xqC4EwGicEMrN3w@mail.gmail.com> <20131113073525.GB5666@awork2.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox