From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: Re: sparse-llvm switch constants must all be same type as switch value Date: Sun, 19 Mar 2017 16:19:10 +0100 Message-ID: <20170319151909.w72zsjtl7uutsfvo@macpro.local> References: <20170319005245.os6jl436ajvqiyud@macpro.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wm0-f48.google.com ([74.125.82.48]:37579 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbdCSPTn (ORCPT ); Sun, 19 Mar 2017 11:19:43 -0400 Received: by mail-wm0-f48.google.com with SMTP id n11so47434832wma.0 for ; Sun, 19 Mar 2017 08:19:13 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Dibyendu Majumdar Cc: Linux-Sparse On Sun, Mar 19, 2017 at 12:31:27PM +0000, Dibyendu Majumdar wrote: > On 19 March 2017 at 00:52, Luc Van Oostenryck > wrote: > > On Mon, Mar 13, 2017 at 09:24:47PM +0000, Dibyendu Majumdar wrote: > >> > >> While investigating errors that occurred when compiling 'minilua' I > >> found that the sparse-llvm output for switch statements is hard coded > >> to generate int32 values even when the switch is on a different > >> integer type. This is fixed in the llvm-fixes-v3 serie I submitted yesterday. -- Luc