From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 460E33242BC for ; Tue, 5 May 2026 10:41:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777977671; cv=none; b=F0tDAiYz1gi0z5zcGJLgyUoh3fDkyUKYkVdphPLd6PsYQDsGW86yMbjA0KNQK75f9z8Rb2JeQowMoKb/Zq0IwYX8fuMlaesX/KGFxcuYj399TFhhp1grsZZYSk5SPW98j8c8EeXaXkX//gLscc29UetkBlqOPqfCiLezASKpFtc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777977671; c=relaxed/simple; bh=IQQAoyFoBcIe7LLVEeyaDQOTjrDNRgh+imyTaZ3UD8w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TnNU0oaXH5NpmyGll44iLwK/CWg/DAqroLEcZKDtZjshyQ7zHDH/NLP2LkF2IVjScLy5tidQd+8PQXM5poZnztVIR18zb3qfTfhDj4lxbIo5uK/NeqUc+uobY5P6OBz8xuHOMGOE9dan9fb0gGITYkxAiYTeYuawzv88J4+A1wo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QJSx5tth; arc=none smtp.client-ip=209.85.219.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QJSx5tth" Received: by mail-qv1-f51.google.com with SMTP id 6a1803df08f44-8b59772d441so35438996d6.0 for ; Tue, 05 May 2026 03:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777977669; x=1778582469; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=lMlopn8pbh+iYZ7NSr6HFeDr75QOOvviia35b7gdJxE=; b=QJSx5tthvERXWqx33jFsI/3uuwTeH98ieLQSqZ+esqZUPeVnJchPS7vHSNt+XILeGG qU16RsETO45F+H/q+Aas/ifRk6T/yJdZyJ2bg9Na7l7LWG4rkvkJSsW/qSBVwukOa3ix 5NOScnTj/dda6kSjphB/zgSXU+cS8NEmoBQ1qYEEajoDsO/BavESeVRH2ZFFgP2wBxOr xwA0v2xY1XXpNKpgXYLXNadjujkiLRsWo3981dDCCGK+deMiTKmKSO5ZZrQwGy91wSrb HOvYdRoU7S1cCCieMspo9gRjhQsDx27YjD2Ta29jlsvbNIQhlYZhAw6ANEgw7pAHU0t1 x5gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777977669; x=1778582469; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lMlopn8pbh+iYZ7NSr6HFeDr75QOOvviia35b7gdJxE=; b=KVJxPbO2nMeE6jLa8k2mgwRtpri/XLX/dB0KiFtORIFWalRQRMRoN4RjUdj+lyy1BR 7i/83xg8dLT+DIskmMhhgtNt33g0H8AFI0Jvic0LX9CatU4QdKR4PthgtpIYM8jdhgMt 58AnSEX4cAJ6nS6oZbcgSNCZ2Er/KaoCXwoBqvSw/Xl7eH/PfZhNg71ESPml/NovAHst HR2dpiJ+2HDxHu/ezbfspWEmfpLFONzwDqg/XJ3uCKVgc5KzkROE/VP3mTybwB+gWZpi VfuQusbuL5+FGkrPTdThTR+AyLRTA1cNRh/9VcmIIxcP38nlgZq6enUw1AxXxhH0mGX3 2wgg== X-Gm-Message-State: AOJu0YzBTauwqjzClrhHU6IQD/RwS5NezXOrs9thDvmS701JPbMdpCOW a1B26CbmnXTUZU+7Qfb7SqBkFt2EmOzOQwi60u8tpey0UZY4nAYVf1ea X-Gm-Gg: AeBDievAVg2cIYyttM1JuYDD0Du8UBAtklBf4Sg2z4N4xyF+nUFIE/BIgNsvWgzAUUJ k034bJzkv24Nrx3gfUUsAOHdwut9wvPbjFNvJMP/T3hsoBksR+Vd2T721z3TcsqlTqtgpRUAplQ d62vj1YbaON8GuAIumW65sOgMtG1y6LQCg2xnuxDG1vzHwZe+sVM/JLpu9L4MryslSnwfVKfnex dVRepQ5vzQzGA/zaoMXAbAyPy7CIvHUvlVPilmKbgkKyK8A3swTxMOVLLDmUK02UZC84dxqnHBV xMWHgKvnHPwQLwy90K3Kd/jI9DaofHgiNCdPq25FEKBWRVyX4QyrMkBMmRmIimiA6UZTtTVk70W 9rm/oQiTYuimGQJqzpK4YgKA55pcdfuFTN5uUI/Mw0I9fiYYDMjj098/VTdpMyNYxXrPAtx+ZHt YjDrQQhwfSq/blJ4FvVJWmwuOMmRdPHw== X-Received: by 2002:a05:6214:27e9:b0:8ac:bae5:7477 with SMTP id 6a1803df08f44-8badaec7a2dmr36932416d6.26.1777977669071; Tue, 05 May 2026 03:41:09 -0700 (PDT) Received: from localhost ([185.141.119.121]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8b53cd827c5sm172409086d6.40.2026.05.05.03.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2026 03:41:07 -0700 (PDT) Date: Tue, 5 May 2026 13:41:02 +0300 From: Dan Carpenter To: Harshit Mogalapalli Cc: smatch@vger.kernel.org Subject: Re: Build problem smatch 1.75 Message-ID: References: <4df6be81-f148-48a3-9169-297f5e0a20b9@oracle.com> Precedence: bulk X-Mailing-List: smatch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4df6be81-f148-48a3-9169-297f5e0a20b9@oracle.com> On Mon, May 04, 2026 at 04:17:51PM +0530, Harshit Mogalapalli wrote: > On 04/05/26 13:50, Dan Carpenter wrote: > > On Mon, May 04, 2026 at 01:25:43PM +0530, Harshit Mogalapalli wrote: > > > Hi Dan, > > > > > > Build error: > > > > > > pre-process.c: In function ‘parse_expansion’: > > > pre-process.c:1648:16: error: variable-sized object may not be initialized > > > 1648 | struct arg_state args[slots] = {}; > > > | ^~~~~~~~~ > > > > What compiler are you using? This is a bug in Sparse. We should > > probably fix it there. > > > I reported this to the Sparse devs, but for now I just changed this to a memset() to fix the build in Smatch. regards, dan carpenter