From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: Re: ptrlist-iterator performance on one wine source file Date: Fri, 4 Aug 2017 00:29:45 +0200 Message-ID: <20170803222942.itqxfz2mgdpmrisl@ltop.local> References: <20170730151254.xlnz7c4zphhnhump@ltop.local> <20170801203357.4ywboptvr6tlytab@ltop.local> <20170803214906.dvvyibtf53j3ah6m@ltop.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-wm0-f53.google.com ([74.125.82.53]:38502 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbdHCW3u (ORCPT ); Thu, 3 Aug 2017 18:29:50 -0400 Received: by mail-wm0-f53.google.com with SMTP id m85so6426175wma.1 for ; Thu, 03 Aug 2017 15:29:49 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20170803214906.dvvyibtf53j3ah6m@ltop.local> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Christopher Li Cc: Linux-Sparse , Dibyendu Majumdar On Thu, Aug 03, 2017 at 11:49:08PM +0200, Luc Van Oostenryck wrote: > 2) I don't think that the lack of static evaluation of strlen("wine") or > "wine"[0] is a problem here because where present this code is preceded > by a test __builtin_constant_p(winetest_platform) wich fail. > All this code is then quickly optimized away (but have first been > generated as linearized code). There is a big problem here as __builtin_constant_p() is not expanded. Investigating. -- Luc