From patchwork Mon Nov 13 22:36:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cupertino Miranda X-Patchwork-Id: 164657 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1516543vqg; Mon, 13 Nov 2023 14:37:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoxTZX7NhNc62Sn837l5hhImHNtf725AEfvmC9ApoPHjceobmU+6sUwEKcgoeA8pRYO97k X-Received: by 2002:a05:6122:20a6:b0:4a4:1575:4e5f with SMTP id i38-20020a05612220a600b004a415754e5fmr7666944vkd.6.1699915048965; Mon, 13 Nov 2023 14:37:28 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1699915048; cv=pass; d=google.com; s=arc-20160816; b=f69VTaRyyjWRA28V604MDArUOJ7mdzA4ze44p6rZSvJiDC+VjAPgGn1b4MFCeI6TuT q+3zoYMkhqncI4cr/zEo0Vl313mvTz2PDkHmhAaT7eR4Abzcj20xbvHpYgbUNZwE8+qt 5+B7AlO+z5SEzW2ViPghY2vtzZIFxR0jh/WvXv/CHNdmDQH2TYr4mUiUVVU/wsZQ68Ks Kk+kpEZI7CC0xEeifS0dBb9Ea4tOWyqVkfNMmtkmBZAefp86cc3tlG8w2bW2driOQLDp bHeiOuth5oUWY5a8z/hlOFbQRdIaQMgkt1DDvsC6AgM5+WxHSk6b8Vx1FjDvCaf9trW0 3l8A== ARC-Message-Signature: i=3; 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:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=tuctSa26kig79ux3YDKWW3IKyfOUbWCF5Es5lNh241g=; fh=GsJfh6MXvL9z/Xak3YpPLLbbsCWOcpZ+AsJKS55GU+4=; b=xW1AMTODC0QodZ3kjmzcGjj63wtYJnkP12bqIVehk0JKQ68fffEpOVKzu0KRKXVzV/ H8+upBA3t8sIviJnAvnXKGM053bsFUkU+2x+DFr6T9ovmYKIZaiu/J7jg5jemtp2NzUr a5opy56ikY1x3gfWAI1ATidzPD/jXf/jZeWWKHF4b/7fPd0QTSgrHtlt8aPzWwrvHs1L 77c0HuFwLJtQ9hGH6CfVEG3+JQ1QtJh+nHY+6fNS/+fljM3gjyWCnmtRBuC92uGaUCYD tDe3SMfMHCChPi8PlZkUQudG8TAzo+yAG35mCNDmW65TNK2/yIuY2hD/ySWWBxlbNh+l +u2Q== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=0KwSZ2uS; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jDvXfO6f; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id c14-20020ac85a8e000000b0041822134c6asi5099621qtc.158.2023.11.13.14.37.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 14:37:28 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.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=@oracle.com header.s=corp-2023-03-30 header.b=0KwSZ2uS; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jDvXfO6f; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B8172385694E for ; Mon, 13 Nov 2023 22:37:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 058153858C2D for ; Mon, 13 Nov 2023 22:37:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 058153858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 058153858C2D Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1699915025; cv=pass; b=QzTXXY8eQEGTE2MagN6iaXxmqQbGfCo4ync3EMYbaFJ2WF/vnQiv81yvGljhqMwt7nXjr0XQHYnQsCrMzN3+B23tucQ/iP/C753eYX1mt5VQbUDHGSyKaN7+v2NgO9PuIfWjwjfM0zpYJHDzSGQU8q1omXRIyHRqrcTW5Uu2TJo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1699915025; c=relaxed/simple; bh=s2y3iuKfUjzQzFn8DQd+trp6ZDIeHTZDWe14+qo7h6M=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=CTbUQI5zQi7WIiSmKMm0S15gtGOGQV+dd7Q5/Ak6ROMYIpVPXG9HJ1PLGxrKHly+rHBLFt63iU3ufH/OCYw83A66CsDNiyEtYnPgkJZATk9ZXz5+7zwlWDPKq53zEYc9d5xZE28BOxnlPLNCgsUSByQ1wwQzLPWXbP+400Ft5qA= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ADMT6Rk025032 for ; Mon, 13 Nov 2023 22:37:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=tuctSa26kig79ux3YDKWW3IKyfOUbWCF5Es5lNh241g=; b=0KwSZ2uSBdJ8QsC/Ee0LYezHB1NB4IeKgIWgYrggzL0LAbTGc3nEutA8b04KIvl7TBzW hx9ypBNr72zQEWvZOKtOh6MJWrA2yBU/OUAADtJ2bfHtM4cfpWfvGNZ4PFWD3IkaAaB4 BQWVdNxATmEG1J1lGq5SEVuisTZt2FNzRqvTxDf436gxnwI4rvw/RhGxSGTrHX4nz3jG p8Db5F2r8lp4NJlRpOKMqf5Wh55rSPCSDX3qOsbNA286g52bv4D4va4frqV50q0Erns7 p6JY2SfhyeYbxMRP6al57TUTpK3eRFd/MR2SbOW/CRV5bWCNVsFw0KLs9s9XRuh3/EOD RA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ua2n3bwfv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 13 Nov 2023 22:37:02 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3ADMViKE013391 for ; Mon, 13 Nov 2023 22:37:01 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3uaxj13ch2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 13 Nov 2023 22:37:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LnSYdWGRrr6LBLwABLLsT6dBlls+QVE0PdNoXl/H4/GFV3oO/J5+HHg9S48Kn7IgzlZNg3S9RG3nFX8Jfp3leW0FJlpqrMb4QhHf1pK8TiWIEPuiaPQ8+SJYn069KvfPXw5uhwDO/dGYQYyeAGl1X5uu19jRgK94A4AxmhbfnYCTZMhrzBpXjNwlsVLwQI0XLtUaXcICjKrkJ1hlsQYnYKrfb04cypYCyYkG2PlKxDgyqWzQRxE8sPVb4pvK0RAmSpW4oQvsfY/JdgR7Ogo+VqXJ/xl+KjGirni8VGrsdUozfeLZ1w6q1tXkbwfsXOJXY/do3IL1vNOsqQjx2iqtOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tuctSa26kig79ux3YDKWW3IKyfOUbWCF5Es5lNh241g=; b=JTcILFJE4gvQdtO2HI4qXexDhp4MmNKOD7ET1XjXwRPb9Z5HUBOhT7gpvmzwCJEi6yQaL7Bwk2y/d8jZEYG2xbN0w2Zj6jSpdnwXsvmhXL11oJn7+RB8a9yjYUHAcfSrs5L2mlV4SH7BgrpNlGlFxU6L17CS2Gt1XOMNTUzuQN0HFPMsVjVHg+zIWCKrpWRwaEOW0ijlLG8Y1FVeHI3Ia+0CyeegDbxnBm0WvGNo5fTjBLhjcVVPfbXFUQpz/YKEg3UcPcX2etPuR1/nZaCyfOy1FzmA7PnLfJpED9Iz89CaZfDwrpM92loeFKfdXOlvCKH9kblolf2149A4qUhe+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tuctSa26kig79ux3YDKWW3IKyfOUbWCF5Es5lNh241g=; b=jDvXfO6fMXabgtzbwcpW4Df25uMK+9vRCvwksR9N5MJ0G3pW1tfiAs4IC2n1elUSMTB6Vdr+bap2nbXUPOzaYya19/ie7zQJsaATrlpSgH5g4cby30FonAxYLPrG08gZhCUa5PcP24giV8vRGeBUcA93qut4kfLsgsyxetyv5Qk= Received: from BN6PR1001MB2340.namprd10.prod.outlook.com (2603:10b6:405:30::36) by SJ0PR10MB6397.namprd10.prod.outlook.com (2603:10b6:a03:449::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.31; Mon, 13 Nov 2023 22:36:59 +0000 Received: from BN6PR1001MB2340.namprd10.prod.outlook.com ([fe80::fec4:3a58:6118:aab2]) by BN6PR1001MB2340.namprd10.prod.outlook.com ([fe80::fec4:3a58:6118:aab2%6]) with mapi id 15.20.6977.029; Mon, 13 Nov 2023 22:36:59 +0000 From: Cupertino Miranda To: gcc-patches@gcc.gnu.org Cc: jose.marchesi@oracle.com, elena.zannoni@oracle.com, david.faust@oracle.com, Cupertino Miranda Subject: [PATCH] bpf: Corrected condition in core_mark_as_access_index. Date: Mon, 13 Nov 2023 22:36:38 +0000 Message-Id: <20231113223638.11660-1-cupertino.miranda@oracle.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: AS4PR09CA0024.eurprd09.prod.outlook.com (2603:10a6:20b:5d4::12) To CY4PR1001MB2341.namprd10.prod.outlook.com (2603:10b6:910:43::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR1001MB2340:EE_|SJ0PR10MB6397:EE_ X-MS-Office365-Filtering-Correlation-Id: d413ceec-0c1b-4fb5-2211-08dbe4990b74 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wHgDr8gmOpbG27p495AAFy9rQvNlYNtVbSIZMQt9lGZhdr35UrcwvqviIbV5mdHDp9jWmg1AsDmkcugc/k0htGJe4KYSaqJFCGsmCfWTn70DN9WY0wcduostlsNHeTm+FrFQ6vPs4mKitJ05/+NML4w6LwsDSKYxXhgxu/4rutlhuyB07QCghdCDbl/IAtQW9t0sjte3AY53lGllFNiPTG2L2mdXFARfvqQmeyDIgQgLhz6USZW/Iy7z95SMed8/BeZmtBSFr2abmYJuKObXQURlStSs4o2gMbXHxnHVyJ8Pzj9ZZWhMPhHf0ee7QgVvUth6pO8uWkakhFNR8d5POfUIg8dL/MAXreVjF9JsMDX83U3inwUiQonsnmcK6LkGQinFeNmyoutwmo3PcmjOy01Ni8tT1NTVPgWZUl3OoQnZBh2t1DEw48e1UM0IHOo/NZ3BHcKnC8EDik1kQM3LcHD2NuU6DVWYNjUER8w4fAIVuJSjjvG93XZ2tabYTdSvyRwlKCPJtfar226KfUCXA4UPY+YaKvQUp5BaUBtBxNjJCG238uMXR7EcoUjIH6FVCSjN9IIcD/RTTjgbsdTw5qaeshycCKlxAgBJmKd1q5A= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR1001MB2340.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39860400002)(136003)(376002)(366004)(346002)(230922051799003)(64100799003)(1800799009)(451199024)(186009)(86362001)(6486002)(478600001)(38100700002)(6666004)(5660300002)(2616005)(4744005)(6512007)(1076003)(44832011)(66476007)(107886003)(6506007)(66556008)(41300700001)(66946007)(2906002)(8936002)(8676002)(4326008)(83380400001)(36756003)(316002)(6916009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: webBRxq4BBapnu5MWv+1NPqCEDrhG49gVIf5gdTm9RwSKcAYTscVrTFBN3BePibseypcK3mpvIsbKcI3Y1qU5msb0lfmRW2+0WMZudipnO+jbHf3K5acKyzzaqEM/zDLo9/11ojbBogpBBXSEXHHVjPQYotOFSlrWxEfH41QWL+YbVelgs6rCfGxxsqz2ADGFCKKoUJk0NFzAYbFvEXPHUFSz5p4WHrN41iIKpAVBErCuKDSe2JxRz7iY2oJukCYzAWsq8D+732EotXGElO4ojtElv6gB0a0JZkQoLAv5BfY572BEDbTSWa6hBjMN3pLzXTE9BeW06LAxu3TZ6X8YYP19DNjCQ81CJgCCCXHTzvTXrNi7tHGx2xdhcLNRPuYI6ai4kNRKv1Y2Sbr4iKZakT5I4vae7qyeNAapDH1im/yFQMAJH2/y9nlE5iz7vbOxLczih8Wxh2nf98NyE5fHBH3Y3+/PLWZ5Xcxo69uREtGPEY2RksJnn2k6A817LzN27+MZP8aEqXwyFIlAp1Dzxrwv/D85cl03nJSm2F2TnKLL1Yc2BuYKMyRv+ke9aWyspQrvSFMMpDF0/EUeRzTpPl5yZ1ptvV/ZBzWmt1285nN8JLRIQkHgMrYUz0VY8/0rV6u/vW6yeSsTBUJm/Pe21xuc8AGYcU6lxyjsJxKaGlKTu9wysmZxfO7zKtplZhC8BDdxk+myd9/rLzpfp5exFjZTfu+jOMereOGTg8PJad9zddSyzV/xqg/SRJR8/iUo9DZeIzlTARtrkvQCgNN6+NPmJtc/6j4feWLOPLni/WK6EsAyoLMwGEYxKj/HN//E7JCpWvkPLqt1D6ggWw7BRifxf/FdQyNhL/3jFL4bRtND6NzkDag4PzFrqTWXNTOyAlezCgXFghTLY9wCTh6AtQdWx5IUu1GqflrBYxONFNb11eVDaeaKykdbJ3ncIjGectagsXoVJlJjE5SPYN6lGoflqSRgati7ZFGSGLK79n8/3ErKYHox/vMgRA2qe8Gb9VvWyLGQa3Akns5Pjw6P11T/1DoUqJWZajLtPU8JAbe9L8j+jf527TXJdlJSOvuBr5W/D8gpgQd2f5LpvnMIrDQLiUecFjM5ALN9UAsQ0sdkqtFky4q8QjgQI3ZUCvjhHlxylAREMUOnv7MKXS+1ZlnJ0Wb1KjphTHE+u9MnlvY3/l+ObBdE1QwzbMKQTTwf4eiNQKmyASpx9auAAFTpkWSPOk5xfs13CF4991+3+Aq6GaPoWPb5ydrYcbJPjoCojofJ421LqnRxYSwVPjx/lcb4eIPJD02RG8A0ZnBY5noJ/nNlPibkkdk8nUHCzoQUQakEfFbOEa4lTWjfpFZ+w5RaOC0zE9zTwYv2IO4hCIQJzpLjTJaV4CGDHnKzoL1qp8NscGkgYKeQs6guPyXBNSUzvA75kRnbhBu2o/UUaoSZ9aHwHKiuOLC3QrQAMzp+E1G7bII7aLiOw9mlhOj4Gwnu8SGGdHfELgft5ZGZBh2RaaoLkQrkssbQw86qfjX/moXAYfrgjNl2yaYG3NgUl9QTXI12ssvULEF0pRacDHq1oDrICQjxsX8RiWCoO4X67/e1KN6TLyn4tQz4ocfdYrLCfbSTMeokJQyNenYsCc= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: /bFuhaulQyATWjAlGsz0XtNUJB7FIhFqkej8qq0vvxCN9LGGS5n91yXF+sAVthu2kR4iz2C7EOHwiRuJykzTpWORPsuXuLHgKe286NxePuNZ55uwl30UgGQUc8niqkSrwa90VhO6jWRkWVnOm/QqHeZqC85lj1teNjQCulXHj3xGm3kFm3xOZ3dEeePXKzT2eQX/1g8rv4bX40+g0a+MeE850kBbfY65zAiYEbN+bEBGqEVFOdneNHX2I7CE7C1l/g8kkJ73EJKAGqsjl86oMTtahJwtgQ7BxkHEiug9FepOz9TSGFjhEK1LhzM5VQmDdfWxMnhw5X9+uil4zRVmV3WU1yP7oR3RcUpuxJw1TH8DE68eQhkFmAPEh76FEv6RDy/Daw/69M3DCK901CRSsVcpRc1T/oJQouOhClz5WZ811JlVAgWNIZ1flio7PEQblmIvNia6z+Z4vCbHjZQDpwTJ+x9Yuayl9/Oql2EMSLGnBbKO+ZAgmGd/bgjvLlF/6Us4FYisMSce40mFwdDleG0t/XRMlx1gq9NFJxyFsEO0Gs5K/7CroC/rg6udhRaJ55I33bRtwrYiPKFWLKA2JAmWB9HujyQlrkCkIGOL9U9/78app5cH4/j4+Kkr5HS5dS18A/SH7akE5OX8uUW6MjFiTYeUTI/P2CDIqbOzqU6FFhiozZsN+B3Kg5E7gq1riKHxezEqMr3TLy0o817eUZEEoU8gdcAv1OmP34DnRZnVygH1j7lcteDmYFpXl3KV X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d413ceec-0c1b-4fb5-2211-08dbe4990b74 X-MS-Exchange-CrossTenant-AuthSource: CY4PR1001MB2341.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2023 22:36:59.0818 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v7lRnTgFbIaOebM83ADNpWfMXASPEuB3kcoJG581hpv90CQI8Tcpa9Grog1vpIPaUx9MH6EhLLZsF/WFDH2T1uncD4WxZyoTjibXG+v1VLU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6397 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-13_12,2023-11-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 mlxlogscore=982 mlxscore=0 malwarescore=0 phishscore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311130176 X-Proofpoint-GUID: m3BNwiPQg1U3M72YPwdnOIb01xLhVipa X-Proofpoint-ORIG-GUID: m3BNwiPQg1U3M72YPwdnOIb01xLhVipa X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782490121908134080 X-GMAIL-MSGID: 1782490121908134080 gcc/ChangeLog: * config/bpf/core-builtins.cc (core_mark_as_access_index): Corrected check. --- gcc/config/bpf/core-builtins.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/bpf/core-builtins.cc b/gcc/config/bpf/core-builtins.cc index 2ba78d7aed2e..1376c9309035 100644 --- a/gcc/config/bpf/core-builtins.cc +++ b/gcc/config/bpf/core-builtins.cc @@ -1611,7 +1611,7 @@ core_mark_as_access_index (tree expr) || TREE_CODE (expr) == INDIRECT_REF) expr = TREE_OPERAND (expr, 0); - if (bpf_enum_mappings->get (expr) == NULL) + if (core_access_index_map->get (expr) == NULL) core_access_index_map->put (expr, NULL_TREE); }