From patchwork Thu Jan 4 19:47:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 759868 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp7153091wrw; Thu, 4 Jan 2024 11:47:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9k4Y8sy+5C/AJabGYS8bDvHPtnIwEdb3ytwnoO4jSh7ssJ1CnyQxVsKZIqzAj1GzskcNO X-Received: by 2002:a05:620a:1595:b0:781:d60f:af5f with SMTP id d21-20020a05620a159500b00781d60faf5fmr1553334qkk.15.1704397670455; Thu, 04 Jan 2024 11:47:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704397670; cv=pass; d=google.com; s=arc-20160816; b=wLrngobtdJTO/6aYXncbdyjlnA/dFDbrWXlUEiElFyX6TYsidK4el2MRwydjcZaeAL 9o+fanbDGYzoOWUc8QAOnJhujRxhz+mACDmQXQYDFARD+Po0tOZBWjTCsBJMlkzZjo1z HDuzD9uYTPzYrdV7tpsPdt122DbNIPFJQsfoqEGs5Ek5lz6NKAdcd9h2DHbe2gBKae3t viI3NDSBnbyxkuK873s4tf1szYUWH/eGZ7olZJs5IQ9UAYYmFw5iZezw5sYmJojwdvnc UvnWcUQpYZEGPUkdXRGnMhvnxkmPGe/Zb/Ug2bUdEezBfnDUWpCkd1ty4gXgf1XqP2Ea DPEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=vPYMyazceF1qMhEqCDyIN/q2KGPTZa0/PHJxqPG2FAA=; fh=w4YPogs5qr06moNsiHAOaMGems29oYfgLzW3XNbqAJI=; b=CzxciRhxfmJT7zJ8TsUYPC9DAeyMeL7x83OtMrSkdM9FeWm1YR6OlzhcxmVlslhPC7 X9MCH1alcXT0PmH+4m1eeWeZlEaYBtoIvXhuu9eMjyWr+V2GFwvYvFw7N4alDJqykvUn AbEk6MtrQOHgcUsv8VmWWpLm8GUIkU+A/1t1t8QVvoc13yhTib6371wyr/J6y+OBiAXw tebEb0DcZj8ITY+IsZs18pfyxnYcxsJBt0dRm4zyptOo8fBfapt16G7WD4uG30zF4PnX BeIaweuAMbaJgobIR0JIvsvvUP1s+kE1lJ0uy68cbzQ5rV3wdljBXHb80ojMBz/dtz1J y36A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQ+vsFyn; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d11-20020a05620a136b00b007815a79ead9si130329qkl.547.2024.01.04.11.47.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 11:47:50 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQ+vsFyn; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1DB4A3861855 for ; Thu, 4 Jan 2024 19:47:50 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 754A5385DC2F for ; Thu, 4 Jan 2024 19:47:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 754A5385DC2F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 754A5385DC2F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704397659; cv=none; b=e0RlIzDiX8/7zgjwxD5/DNKii/hjmkdl5eE58XO5lwWmQLfmkqsDddyAuOk45zr79BbQ6QV3x91U9qCTIBVacJurd4Mtf9NkshhBh+Az4C1HvW4OjkF0N0LOOxs1Stw+bkhw70R7oxl9/5EmbccSxeoX0E+rZUnF3GNA9myC+mg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704397659; c=relaxed/simple; bh=aMV/v+Xl36H+RC8NahbBgquC00+sT0bx4syEikHLQ4s=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=sA5XgIA8H2hMpZi6jCefi65f8YrXT1e77WPlrl0Eh7SuOkpUYrlpVHbKjJA08KnrO4Qmg81JPr67cmuDB53Ly9k70mszqRvyv/kAJuW/Zs9AWxkdcXEpsRDCyF72vVQfcYgjiBuZiHCBs/+32fsiCD+jz+SXPZZkiKSOUVdexVs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1d427518d52so5872555ad.0 for ; Thu, 04 Jan 2024 11:47:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704397656; x=1705002456; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vPYMyazceF1qMhEqCDyIN/q2KGPTZa0/PHJxqPG2FAA=; b=sQ+vsFynNy7HZbmIoybp9kAtfQ7iBDFgToyPDu2mChpvDLdpLuGvtfRNXP5qXxsGWX pdnZFsZ+w3uqeaCNSVOSwT82NKD98tDqXQrJIDJUwOrtZ3pQGjFZ0FIJ9vPl8pftDvXc iqHNq5mpTPCV4PYZipM2fQwcCczymzfR1WJQB5/P7EJja0Wrc2SW3OpGfmq7a/XLZtFc 4YwOJjShfTwEf07NDM/2Ph4YLzNZqm5G2iM5ybsNzPKwDa53BWS/mj82nJSR5toYgtCA 85zYmGaHcNaNjapYLoLfSg2zghASUaIzR0N4aBctolcI0SSIAyIph5LNuf2YWMsyK0QJ 73FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704397656; x=1705002456; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vPYMyazceF1qMhEqCDyIN/q2KGPTZa0/PHJxqPG2FAA=; b=iYOadCEFexruonkJvGblZXP6yjM7rVDMJGzRPIOVTs23r39c5VowXa9EgIu0rTYtfX a/IARNrnx1HpvEoIu2NsbAmGKKNicFq28Hot9TIJLmA8N4GjUIo7hwg0aeqojMJigSA0 qSaEKeJErLsubVG9pUhcqABQweobK9GrOnkWLdvxV5T7rTNFeGqFUebANkueAqVeCu3t /wemREvjaXxUOlMRP1Ubddv9ekUVO9swZINxiGOQXgyTZynMR/rs5d8a07o9iZo04MYQ nJm7fZ49tdVPtLPDTkSFIbODzQfgUB/E5rxeURYXUaVkxEtEzjVRUZ632p3NVhU/p6Kw upgg== X-Gm-Message-State: AOJu0YyoyYmN8ZpH9UHwItwP0ZamdoXlTq0p1epplFbDS2MEKRj/s7pC U0sHIKKUSlQg+JVRMhafustzj7PtMGaFwxXVlM0ZwJ72szM= X-Received: by 2002:a17:903:25c9:b0:1d4:a6ce:113c with SMTP id jc9-20020a17090325c900b001d4a6ce113cmr1080053plb.53.1704397656015; Thu, 04 Jan 2024 11:47:36 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c1:bd9:e135:8c7a:c648:e012]) by smtp.gmail.com with ESMTPSA id n15-20020a170902968f00b001d45fd7d444sm18868227plp.175.2024.01.04.11.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 11:47:35 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers , Florian Weimer , Jakub Jelinek Subject: [PATCH 0/2] stdlib: Fix stdbit.h with -Wconversion Date: Thu, 4 Jan 2024 16:47:29 -0300 Message-Id: <20240104194731.2357574-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org The tst-stdbit-Wconversion tests triggers some warnings with older gcc and also with clang. Although these warning might be considered false alarm, it would be good to avoid it on a standard header if possible. Adhemerval Zanella (2): stdlib: Fix stdbit.h with -Wconversion for older gcc stdlib: Fix stdbit.h with -Wconversion for clang stdlib/stdbit.h | 55 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 18 deletions(-)