From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dibyendu Majumdar Subject: Re: Sparse-LLVM issue compiling NULL pointers Date: Thu, 2 Mar 2017 14:05:34 +0000 Message-ID: References: <20170228150956.moyfiyd5zf7tbeze@macbook.local> <20170302052124.fsqogvysufayy4to@macbook.local> <20170302135655.s742zcslis5r56if@macpro.local> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-it0-f41.google.com ([209.85.214.41]:37372 "EHLO mail-it0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751426AbdCBOHE (ORCPT ); Thu, 2 Mar 2017 09:07:04 -0500 Received: by mail-it0-f41.google.com with SMTP id 203so51777126ith.0 for ; Thu, 02 Mar 2017 06:05:35 -0800 (PST) In-Reply-To: <20170302135655.s742zcslis5r56if@macpro.local> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Luc Van Oostenryck Cc: Linux-Sparse On 2 March 2017 at 13:56, Luc Van Oostenryck wrote: > On Thu, Mar 02, 2017 at 05:41:59AM +0000, Dibyendu Majumdar wrote: >> But I am beginning to think that there is quite a bit of work needed >> to fix the issues, and in any case it might be better to create an >> LLVM backend from the parse tree rather than the linearized version. > > Possible, but this will certainly need some work too. > True, which is why I was hoping that I could at least get the current version working. Unfortunately even the simplest programs I through at it fail. Looks like it hasn't really been tested as there is no defined subset of C that works. Maybe if we keep fixing the issues one by one we will get to a point where it works. Regards