From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: Re: [PATCH 09/29] add helper to test if a variable is "simple" Date: Thu, 17 Aug 2017 21:51:23 +0200 Message-ID: References: <20170816153455.97693-1-luc.vanoostenryck@gmail.com> <20170816153455.97693-10-luc.vanoostenryck@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-oi0-f49.google.com ([209.85.218.49]:33889 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753165AbdHQTvY (ORCPT ); Thu, 17 Aug 2017 15:51:24 -0400 Received: by mail-oi0-f49.google.com with SMTP id x3so77181107oia.1 for ; Thu, 17 Aug 2017 12:51:24 -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 , Linus Torvalds On Thu, Aug 17, 2017 at 6:59 PM, Dibyendu Majumdar wrote: > > Apart from that I faced a problem with this and had to disable > STRUCT/UNION from being treated as simple types. > > The problem was when generating LLVM output for > https://github.com/dibyendumajumdar/dmr_c/blob/master/tests/eic/testcbrt.c. > I will investigate more and report back my findings. There is indeed a problem with this case. It seems there is a mixup with types somewhere and sparse-llvm needs a few lines more. I'll look at it in the following days. -- Luc