Message ID | 20231123151656.30332-1-jose.marchesi@oracle.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp519336vqx; Thu, 23 Nov 2023 07:17:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHemHNbyLcrU76fy9CSX11NAHP95AIDNDppZPKy9c2/se3BVq4Y/gzoQJsoKYIR7Lv3IQfc X-Received: by 2002:ae9:e217:0:b0:77d:6daf:34d0 with SMTP id c23-20020ae9e217000000b0077d6daf34d0mr3464335qkc.30.1700752665726; Thu, 23 Nov 2023 07:17:45 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1700752665; cv=pass; d=google.com; s=arc-20160816; b=KHZPnFoPPcUQaCAUiY7THt7oMreO8GSuc9yL8OPODdh7HMQu2mWgVOlsEMgTx4/fki aL1n6vie2DOFoBoxA4/ZTpzn+dKaOWPeIyL/KtPE751hQg3dwjeDzdcAsGLDD7abIjzU ut/Cc9TrE/SUVy2Ah1Z+uIeSlns/vYHqWECYleQOxs87eZVfyf1MwklSs2anEQqCQagD +D955xGlIv50usBAE968XPlrngqVE8D2yupNL6Ad5JpF9nv+O+JOYdVpBMoODXX/QktC 7CWzw5lzAexolkHO7Y9g8IYL7FZ2tsJFZ1slKm+EFVLEo4BgDwnzq4ZX+cBf2IbSoXMP 4Vew== 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=G8n29sFWZA88pShSR39WswBjAU8iG0FHPdXlY4RLFMU=; fh=UnJaSs1LdmHl1brBz3CJXOVVEZ0KHynh+GYvTrOkcOg=; b=X/ZYpj+a2rGTHlh4aTA6MgOpcsMvp6WTg4a8xZgRGmZY/LtlLFXWzwKDVkXrp6QnZk YTqnAmtCEejNLB5CMdQNMl+euW9L37Hilo8/E2V0brHOBBKMm+VTOxvJoH0PI7DlGd81 sMW25NTdxAen4VXAXIsYbUNdpDQVaONT0RjK9OUy7HCnGXSzUWNKtpJBes3m+Z153sW2 GoaaQslDMZs8qwAF97m+FN1BHwMEWNRBj9rg/LSj6QJ8SGNOj+Pa8C1IGwXRsoiR6GvV NwrWJLnInaLJ+VVdJuQaDZR3Ybu3QOIG/1Ob1fJHcIvVp5boejiAgbvkHGjIP3UJP34K p8RQ== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=gNTUDOxD; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="pGGHSl/d"; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id oo7-20020a05620a530700b0077be3d93fabsi1185034qkn.611.2023.11.23.07.17.45 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 07:17:45 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=gNTUDOxD; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="pGGHSl/d"; arc=pass (i=2); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 5C9DC385DC28 for <ouuuleilei@gmail.com>; Thu, 23 Nov 2023 15:17:45 +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 D192A385414F for <gcc-patches@gcc.gnu.org>; Thu, 23 Nov 2023 15:17:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D192A385414F 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 D192A385414F 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=1700752640; cv=pass; b=V/qzYQGmmK2x8RS5fHT5pYTDVLBQ9N+c6Yejit4zG3lspPTlgaSJ1Rc80uePsZ4+2ck00eyJJ2JSHh8WZ8/JLHFZftrnjfoYMPnoYZbl36vfQcHEo+D6RZu+vuvtS6oGJ9mw997vkv4Qa/ak7wecHLTcR9LuIvfEeBgePn5nsH8= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1700752640; c=relaxed/simple; bh=i0jmjPvGNvfImafJ/35+VxcRjtKFFGZF0tGRdC7rryU=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=gS80WGgFpmBtscXixo9yqTEDf6cOr1+yyG6YTu+TdYUTc4GXmNlVYPpDnAY9RPCMmVXhSUK2/WG7ld8yi0W8CEGLV23MqCM5HXo8dB+KyZrNGbMVpf18qm8FxRETv5No6+UGD+OSGcf5JpPhpQ8JCQNmery0T0hile62hSHk/5c= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ANFEhDm017514; Thu, 23 Nov 2023 15:17:08 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-11-20; bh=G8n29sFWZA88pShSR39WswBjAU8iG0FHPdXlY4RLFMU=; b=gNTUDOxDs5tj4m+ucyQyKJmiioRMrgJB3yDQv1sy7KkU6chh9cr1AE+xiC2VPDc+97zJ x5xK8N49hpM6KafiM2GpGws9irddj1EGtxpKR9MaVvCGQIte48lo1mbSc81LIZYNM4H/ +4K0AV5cj/gSBP77ITMgZAZbpV7QqCMqVdpMEzwaQVu4QA27+Lh3h1GsIt7+yOkNkWRI PaPiu6CJ0IpwngPBfpe2ctMj5TH7i8JW9Rxj3UmlSNsoN+/O8Ri6+RdopupnLqyRDv0U mXp5XTTPBiiFDdHjnKuthnAwLw/IzWKt/sNHey9mwv/MJ5iUJ6UhrHVFeE3F2GJaAdFo 9w== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3uentvhvy0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Nov 2023 15:17:08 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3ANEprPe023948; Thu, 23 Nov 2023 15:17:07 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3uekqaqpvg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Nov 2023 15:17:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dm1VeJQHvlZ3ruZ1UqZk7AP5pMTOtdOwkkBmDHNfrZh1TA7zSl5SLiS8OnqWPgFwC7Yo/u22+3b+4H3hCyev382rgT2TcFh5waqWWQP5y1DmsWuQnYRSltQol91laC6GWbIilPX/BfUy9uK1IArZx0POI7FsvxZKBSuTBf4kfmJa64KfHLfPoBFGOSLafHhVBo9czgtm2CtCe0Ne7fleLvkkJMA5kLbbUOolrONkqnfMJ1nZPbD0TJGOTUnl42L2zzr9UG8hMqnCzjSezeF4BMiva5Ud2aQaNNQkPwHn07JCKx1K2Ur+23/HjJ8PSX7zFI2Tw6cLTrjz+XOcLODfPg== 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=G8n29sFWZA88pShSR39WswBjAU8iG0FHPdXlY4RLFMU=; b=dBlKdzeDsK9UJ8fYrQEq/yQduDWsTwpvwez/ioMQJHg4oUDOXt7qIegqkuhI0T25Y7zAEqXbtj7pOYW9cZQvL5sJzZTmy8UNcdUZPfeEkjBb3So19aPfQRdmNGYFv+flBX0bvaDOKQK/mBtGSdwThZZj4VhyuldbrQ+UH6mbxvoe9NcE5tryFyNpbrMZVoFO7x1whGoiPpolVvRf1EKLF20pdMlaMfqLxILzDRBokR82XBgtctrNRqf0/EL17ZqB9EcEBk+4zQo5isK1qViHrRJKf1I8c9XEMkRBDGivMtKj85s4G8/Bp+zG6xbfMEZab6OQlamioHjLjMIl2aGAfw== 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=G8n29sFWZA88pShSR39WswBjAU8iG0FHPdXlY4RLFMU=; b=pGGHSl/deuX8aKxWeKVV/mMkTBeDt2PsxraN5x5Fu4Ewp1oeUOHv64eD0n+n9VzMiYbbJdE1IOF90DTbLpDg+tISVpSUvoIbjLJMbUez+Oym+8pP4kYjfbkiAi4KrQWP+xruKcS8aLCVXvJkRLtwruwQrXx5lDveKO1STlfiLGQ= Received: from BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) by IA1PR10MB7312.namprd10.prod.outlook.com (2603:10b6:208:3fc::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.20; Thu, 23 Nov 2023 15:17:00 +0000 Received: from BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::ba16:f585:1052:a61c]) by BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::ba16:f585:1052:a61c%5]) with mapi id 15.20.7025.017; Thu, 23 Nov 2023 15:17:00 +0000 From: "Jose E. Marchesi" <jose.marchesi@oracle.com> To: gcc-patches@gcc.gnu.org Cc: Richard Biener <richard.guenther@gmail.com> Subject: [PATCH V2] libgcc: mark __hardcfr_check_fail as always_inline Date: Thu, 23 Nov 2023 16:16:56 +0100 Message-Id: <20231123151656.30332-1-jose.marchesi@oracle.com> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0152.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::13) To BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR10MB2888:EE_|IA1PR10MB7312:EE_ X-MS-Office365-Filtering-Correlation-Id: f51674c9-f1a4-4c93-4235-08dbec373d98 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b8zl/fPa+zPnTppv9E0VEcxpe58ZeAPdvGLEcPqrGCJlID+ejozF5F5YCnnH/S5tdTKaLCOsyDqbga9p0K6XShyjo+P6TfkmJF7gng6cbKkJ6dnn6GcbTFP7Gg9IgQu9OTI8QVJYXXsVQ76EzV/ohKH4A5Y+XE3A+Nr7Ah3ncnQ9HsX/Vdv1GRjXpKEWbVPT3hSlWwEIP0kBmufKXSTBsd8mVQHbavRfhX0IVVGXFZLauKB4UVeo6A0f1t1jEtLLWSPFzpES5I6fwR6SmJlyRloBzNJtyCa847YoFfkywKfNj4xjyClbbd2FXQyWQ9JJ2yEvHYA9378AaFr7GnTc8oT5lW5cCy/jURPhS4Bfu9sIY9T5TPNj66CCuHWUEblUbg1l+0Ns7e0Pn+PuTRdJjJbtXHQpfx/t1zxR19ZPfEogI4+ADmBHjszGQLL/TsW6B67p41HnVj6VGBpVZ3JOe2wYt8X/GIIPHfDxvEZpMV4Fk/K5JaYiuJYxRqZmQ8Abs3qpL4hOedLM5SGuPvRAIlTic1bVCiYH8z9FQWkc7xxBpcP8n33Tn3XSPztVHT5C X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR10MB2888.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(366004)(346002)(396003)(136003)(376002)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(86362001)(83380400001)(38100700002)(316002)(66946007)(6916009)(66476007)(66556008)(4326008)(8676002)(8936002)(6486002)(41300700001)(5660300002)(2906002)(1076003)(6512007)(36756003)(2616005)(26005)(6666004)(478600001)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q9hCkOPzoJB40ZGcJDSW5EPSWPDWx8flV1sHuTNeEClEpfy7ofFjLez8JoHNTw68sjOXhLZs3vhV6rTZH92jYPqeXqLx3uFmKsq2cP/KFeV7vjXZBUribul49YwpUU61+Lxg1yPJw8rnFp9HtNVSH+9Ju7zDf4Ezw/vXd4mY0z4k6U9j/C7mnTb1701KHx9tP9vu6xeg3w3rlyMlG22q6RKxJ/EwfRv66s+/VF/23+TGnfBdNNJPeRtsYqaAuKd5qNmUUBdPXqv5V6FOTr/D0OlyAsOPVT1MPDPR+agUOFMeX8+JBMXpDfzarmO4LgwW5VMIRNf8sxnHCOVZIcx0FLvmAoqP3fHAe9/0EuyGjJlvKVcMP4c09uWXHiDzzv+V2z6/X70iGxSJ0ofEvT9LeDUGrnf05mUD04nRTsz2ktLSI6yqTi8Upv78Wu6vQUajLHrrusTQeCRyrO7huOB8jUtFfhlGfdTXSwzUOHS8SoJb4BxbGKgAUWa596YFPFRYkjRDUN9D5bSsUq5/p804+E9qyMDI11S8Abi7B4kCBf2oAItjYS7SCQnYLB6UFk1mU0ARU6CikTYFyDANZzB6t/Hkf2a85LPKZ27e8eRxDfCsmq0C+Vs+x5qzyNVQjdJ3+B/Rm+QIeoQ7QWh2tuwYavhcPLOOchpA7TCF9/NZkuVtkpctf1lmoYZeXCDrz4UPM8eG+DkrR9V9rI/NQNJyjprPwaHh8sI9+IIQzRFjdy8LIaXSPaLNjnRHFJ0jT9aPDnmvEh6ycK40CYkjhJWVYz23nkbBDsnGSHjEXUT0rXOSTRWARfVEcj++Gp/9uJApQMwZLE2GfUhKyJk/NkcOlERKG94lx7Peie8OD5umVxM3EzZE887zg9nhSzrfAFj5E6UyuhBPv8palOjbxE17POsLRchtx6Vh9zcODmk/gy+Xyv2B9jI9mRqjn1AJLSyBmTmOnYaTp3RpBE7UXqOnW4fpsoCq5Hcj1oxMNQDFbyhwEugAP5GzfpWzl60Wd2LBxj3Ca+4n4HH7P54jYOo74CIBatH5KtwOwUFTGYj1uTzXk01EllYgY5dxbX66miAwL42VKpZISwBZdaLWd/5bVbrhxj1Dd4gzFFl0HCGYmP8aFv5C2wgs96a3DztN93vFv2h7ybf+lMEzyYfBl0o7tbTEmesIzdDj9zEsF2G3t32UgKFfgvzXRtTKC/sY4YoS2PoxG6OdLb3rPbjRyP1AXa8I5+3EfXm919pOXhU0mGU5T/hAoLO0vb2yy6ikB5CFkrfIkZpV2gAHOEIsTIvfscmkzydU6MGo3jSrPD55HdlAt/3TGVRNb0OMDf9Dw3F6ieEpWRCF9+xfRvxiFHLN0c9Y09gxZcPcumZS4o2RWFKRh3kfX0ZKfOkj+m9xVYxU2xTKSUocElf9oEifK1LHa0fo/j7oTY9g8oWMqPYBAl/r2uQqamnI0A5hE5RpCI+3HguLyrxaJKAQzWFEJnLXi8YS5PkjLGUGhxNsigLZwrCglmWY5azS/tMItRvUykoZ8XeujQ7nNE55+nD1t8ZUFV0g/lh2tg6sncrgNkm5i0JneWU9ly93yKqxbyCxZfpRpu6cHFJWKAGMFYKTYIgxxA== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: vomBh1+fIJJYmamh6ReB3ClvSszOB/oTJJYlz4xjOwTJVa4VqPpZzFv+UNqHnoWa0saamNq4nEv4m8Xc1D+OJHCpkUFGLoRaEg2Bkbf1pX7Vur0mvUqqSEiv6HmlgSheaK+tWll2a6bR7i5VxAFvHOyWjjHFCxpeTWJ5csmPKngzT7row7O0xuBmZqKJYJ3Axa47VJXJ1bEMq1caPYMSJGIfgoGiQxLzyN/E7onhXIBMb1GDnvHz4KN3bMKNJlVHbTDmUeEMzPyD6yDg0MggDKbDn201otPBus343n8U++6zHSxUdJFmJIOeIcndqz70rTtT2Brb9PWzn/utp0pzjuuwRZwLJ98Lbq4CQ09zWPxHbtAEXtZMUVyvaOZCIEbLn95JDj6tCj1VtEOIR+JnDIbvqa/oZmCkzDD5pGb7ED4TFuXHOaWoR0tsGICuc/8B9t1Nz6zGmbM8pnRSVcHUvJh44LYZ8pG5KQ8WiiN/LhR9wtaYG+RWKmHRmJmLQyzlJt8niE5iva9PWV0fdt00vYU0KG2wfHnJs+wzJerUMAAypz+dD8lG4/1zOCMt0XF81z6m+03Xa4CYloy2DvvjzaP18Yx/EGPBdxKZDSOomvLAQ0Db+0stVbLLcaflwBy9E4UiR2cj7Iq3kp5qOIHGEihZDa/oIyw6WuJqmTgH182D9EjKQdgUkmkP+V1nqxU2u8X62xBg8DqOmECVOnDaWZidYYA4x2tAQDBVFwqj/rBGAK79wrU2y+4TI3rUCX8j8AEy0ZMBA37ke6fhMolyMQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f51674c9-f1a4-4c93-4235-08dbec373d98 X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB2888.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2023 15:17:00.6689 (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: dR8BH1U75gpUdwVzPilK7y8ry5g1xk1EfvMRalXsgctXMFyf0sigO9xoubAQklkpskYjGFfaPGY3AlAuB+7f++qjm10WyyBBWbrUuQ3841c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB7312 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-23_12,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 bulkscore=0 malwarescore=0 mlxlogscore=653 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311230111 X-Proofpoint-ORIG-GUID: ni3rgWfdvGsyDXTBd4k26AASgXhIhBEV X-Proofpoint-GUID: ni3rgWfdvGsyDXTBd4k26AASgXhIhBEV X-Spam-Status: No, score=-12.6 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 <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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783368427289646702 X-GMAIL-MSGID: 1783368427289646702 |
Series |
[V2] libgcc: mark __hardcfr_check_fail as always_inline
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Jose E. Marchesi
Nov. 23, 2023, 3:16 p.m. UTC
[Changes from V1: - Use always_inline only in BPF target.] The function __hardcfr_check_fail in hardcfr.c is internal and static inline. It receives many arguments, which require more than five registers to be passed in bpf-none-unknown targets. BPF is limited to that number of registers to pass arguments, and therefore libgcc fails to build in that target. This patch marks the function with the always_inline attribute, fixing the bpf build. Tested in bpf-unknown-none target and x86_64-linux-gnu host. libgcc/ChangeLog: * hardcfr.c (__hardcfr_check_fail): Mark as always_inline. --- libgcc/hardcfr.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libgcc/hardcfr.c b/libgcc/hardcfr.c index 25ff06742cb..376a36202c8 100644 --- a/libgcc/hardcfr.c +++ b/libgcc/hardcfr.c @@ -206,6 +206,10 @@ __hardcfr_debug_cfg (size_t const blocks, enabled, it also forces __hardcfr_debug_cfg (above) to be compiled into an out-of-line function, that could be called from a debugger. */ + +#ifdef __BPF__ +__attribute__((__always_inline__)) +#endif static inline void __hardcfr_check_fail (size_t const blocks ATTRIBUTE_UNUSED, vword const *const visited ATTRIBUTE_UNUSED,