From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: Re: Sparse 0.5.1 RC5 released. Date: Sun, 13 Aug 2017 23:16:52 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-oi0-f49.google.com ([209.85.218.49]:33220 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbdHMVQx (ORCPT ); Sun, 13 Aug 2017 17:16:53 -0400 Received: by mail-oi0-f49.google.com with SMTP id f11so70027092oic.0 for ; Sun, 13 Aug 2017 14:16:53 -0700 (PDT) In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Dibyendu Majumdar Cc: Christopher Li , Linux-Sparse , Ramsay Jones , Lance Richardson , Michael Stefaniuc On Sun, Aug 13, 2017 at 10:20 PM, Dibyendu Majumdar wrote: >>> I have to disable simplifications anyway to get correct IR in some >>> cases. >> >> Care to send some examples you have problems with? >> > > Sure - you already know this one: > > https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/bugs/simplifybug.c When I'm using all LLVM fixes I've ever submitted and my SSA patches on top available at: git://github.com/lucvoo/sparse.git sssa-next This simplifybug.c doesn't seem to have problems with sparse-LLVM. I'm less sure about the generated code, of course. > Additionally following fails if simplifications are turned on. I have > not analysed the reason yet. > > https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/minilua/minilua.c This 8000 lines file has a lot of header file dependencies, I'm willing to take a look at the preprocessed output if you send it. > Note also that I have a couple of workarounds in my repository: > > http://marc.info/?l=linux-sparse&m=148953605610758&w=2 Only half of the function is there. Care to send to full version? > http://marc.info/?l=linux-sparse&m=148993825216454&w=2 A floating-point test program while sparse has very very poor fp support ... hmmm and with a header file dependencies. Care to send the preprocessed output? Regards, -- Luc