Message ID | 20240510145759.514023-1-aldyh@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=J/nTBzW4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VbX7l74yXz20fc for <incoming@patchwork.ozlabs.org>; Sat, 11 May 2024 00:58:27 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0C52F384403B for <incoming@patchwork.ozlabs.org>; Fri, 10 May 2024 14:58:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-44.mimecast.com (us-smtp-delivery-44.mimecast.com [205.139.111.44]) by sourceware.org (Postfix) with ESMTPS id 815293842FD7 for <gcc-patches@gcc.gnu.org>; Fri, 10 May 2024 14:58:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 815293842FD7 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=localhost.redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 815293842FD7 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=205.139.111.44 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715353086; cv=none; b=D/7fo3lOQmnz3Zrg1vk/RShzWXKX8PM4KlbeincJthDLWoliSyIUpWgtiRldbFX8SCsKFHg5AVYB/5zDWUve0da6G0BBOGHfSvzIAddQOP6+vB0+TG/dTL9k7HRoP9PAoGO+LoE4/7oPUqUOE+ifC3J3Jj4lqVgPakWE672SXOQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715353086; c=relaxed/simple; bh=vZ53wLrQyfl7RN+F2ZRN4jorgkA10xA/XPI1OQViAEk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=PspXaJ33ugcIALstqOgzDGdVmjYIaKIBG3BYaJsz68BeAUVX17ViPaARThb+F01R4jTi/tCe1YA/6MZHKzH7S5qc0aTn3jCp+Roa17Aaw3Fgjo0+dkagNKop4U5WdxFMh7/Hkpmt6TYbxeQe2kyEIUTX9gkfnrUU8ahxD/b+ycc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715353085; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U97/e05ZdQ9H8/TXg/gOx9qtxKJjGh2D0XN5nqlrsJo=; b=J/nTBzW4nZUF6fZxddVR7/dul7eGjrKGgFmMvDNJHqVDy4njE9Ohm2bUXTccBzmriG0Buo AjoDOKFtyhYntTeL2hcr/xiAjkdNX5qp1FM62hhDG3cuF8MBko+U8dVAc72AJKXnROuovt G0AoP6m/g7UUEcb8wDF2OVFYMH5o6gQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-322-0SBY0b_bO1izJJe7LKhH6g-1; Fri, 10 May 2024 10:58:03 -0400 X-MC-Unique: 0SBY0b_bO1izJJe7LKhH6g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0EFCA3C0DDB5 for <gcc-patches@gcc.gnu.org>; Fri, 10 May 2024 14:58:03 +0000 (UTC) Received: from abulafia.quesejoda.com (unknown [10.39.193.10]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A6D9610731F4; Fri, 10 May 2024 14:58:02 +0000 (UTC) Received: from abulafia.quesejoda.com (localhost [127.0.0.1]) by abulafia.quesejoda.com (8.18.1/8.17.1) with ESMTPS id 44AEw0oe514050 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 10 May 2024 16:58:01 +0200 Received: (from aldyh@localhost) by abulafia.quesejoda.com (8.18.1/8.18.1/Submit) id 44AEw004514049; Fri, 10 May 2024 16:58:00 +0200 From: Aldy Hernandez <aldyh@redhat.com> To: GCC patches <gcc-patches@gcc.gnu.org> Cc: Andrew MacLeod <amacleod@redhat.com>, Aldy Hernandez <aldyh@redhat.com> Subject: [COMMITTED] [prange] Fix thinko in prange::update_bitmask() [PR115026] Date: Fri, 10 May 2024 16:57:55 +0200 Message-ID: <20240510145759.514023-1-aldyh@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; x-default=true X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[COMMITTED,prange] Fix thinko in prange::update_bitmask() [PR115026]
|
expand
|
diff --git a/gcc/value-range.cc b/gcc/value-range.cc index 3e1ecf69517..5bcb2c3f650 100644 --- a/gcc/value-range.cc +++ b/gcc/value-range.cc @@ -686,7 +686,7 @@ prange::update_bitmask (const irange_bitmask &bm) // If all the bits are known, this is a singleton. if (bm.mask () == 0) { - set (type (), m_bitmask.value (), m_bitmask.value ()); + set (type (), bm.value (), bm.value ()); return; }