Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgUz5-0001lZ-OO for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2013 07:35:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VgUz5-0004uJ-7c for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2013 07:35:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgUz3-0004t2-Op for pgsql-bugs@postgresql.org; Wed, 13 Nov 2013 07:35:29 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgUz1-0005UJ-M4 for pgsql-bugs@postgresql.org; Wed, 13 Nov 2013 07:35:29 +0000 Received: from anarazel.de (p5DDC7090.dip0.t-ipconnect.de [93.220.112.144]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MbLW4-1VzGqw0ttM-00J8p6; Wed, 13 Nov 2013 08:35:26 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 218F9102FB1; Wed, 13 Nov 2013 08:35:25 +0100 (CET) Date: Wed, 13 Nov 2013 08:35:25 +0100 From: Andres Freund To: Jeffrey Walton Cc: pgsql-bugs@postgresql.org Subject: Re: Clang 3.3 findings and Illegal Shifts Message-ID: <20131113073525.GB5666@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:C4nClVo6NQMjUwRJgMVpygiaKVnUi5XqvSmM99LFI0m VzJNmSoxH/63aMWeiS7/HDmyK9MzWm9+XgDNBAigmjRoLspy2r PdmsVnKTkrgn4ly5y4YutMocV0VVG9AES72NRCFLY76GqBMSRD doA8HDUrntlOFxD5C+uj/mYIcGtKet5sTitFDRl6UQCp7i0T6n 1CvS6FZwcLYDV3JxrsZqeLAFV/ZqUKDZ6pt+Z6LNrU8NaRn+nr 86ACEQ28t9KQ3QqZnKpcZzr+VYYGt7QZPzlLilXyhhNQQ8pbxP gIUN24XAzj+Gq3pjIVBNS2C85X3oqxCc15opiidd+10x3jMffq cLnKOz55GC17WwWOjhvPy4aIhpb7q5f4pA/LeU45A X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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