Message ID | 20240819182056.1532848-1-indu.bhagat@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <binutils-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F2ED3384A49B for <patchwork@sourceware.org>; Mon, 19 Aug 2024 18:21:31 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id A1149384A811 for <binutils@sourceware.org>; Mon, 19 Aug 2024 18:21:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A1149384A811 Authentication-Results: sourceware.org; dmarc=pass (p=reject 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 A1149384A811 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1724091666; cv=pass; b=qu8sM29sus6nmmDWYTGnV+HQ6/TTkTNOhp+6Lj9Cj5cKnoMOs19UL6mIBnSKxaQHoQZIEqh2rqjAvBuW57AogXB1vw1y8Af8QjccsIW9DNpCvKARXW3x7izs7wV+Zi2AQ/Xfv7x4LjnxF6Wzth1uRD7sZ2BZxU1kNCdpb5RHQoo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1724091666; c=relaxed/simple; bh=55vTZU7cBYdIn2+KLJxQVBMjh8SSVROHcDdKqdQOO6w=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=WpAouIlOndSQtWplpOMzUXQ+0T1FYAoCvK2uwqkSATh6wtdg/x2uXFQEM57RnW+wepO8tnnM3eP6KF1HU70mFGdF8vs3SU4Dh3vk7i9yASCSMIL7Oul8HDeBZrdCn5wCMNuszp9JDeu3NOoWjMz03LL3EmJjVfVPOvH49IGPsOU= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47JIK2PI021566 for <binutils@sourceware.org>; Mon, 19 Aug 2024 18:21:04 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=kY2Jw/XOrzOPD0 E35YP7X6CtLyFBsGx6IuEmkniQnl4=; b=hGgcMAkVbn2WSiggiwbVPgQaFGE0uF V7EgrRopRiIr/7Ibo++oTfm88aIyY+0uxCFncTeT3IjBND8V9RmTHIqFRRmXcCO7 EMiK3GpalFrMmKKmqpu3wma0B0xSKtu8Uaj+Sg56PmEincURjhQ8QSFI6fsJjbyd 25RRnZnrO57gTpFyv5J5e11elxqULoVDSRcoCjRGydtpDiMFospW0HFkt3aehNTp GRy4QRHBvgL9tW1FYMDNx2sOS+ptdeKENzcDSa/DdqHDdzJPK0NwyrcO2pNWXoGq aswqrHkXXE0bK6A/1gObscpl4Hq+oEIvkSjMFqxMy/A2g/2pMI8xTWTQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 412m6gb981-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Mon, 19 Aug 2024 18:21:04 +0000 (GMT) Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 47JI90K5018972 for <binutils@sourceware.org>; Mon, 19 Aug 2024 18:21:03 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2046.outbound.protection.outlook.com [104.47.70.46]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 413h42e6rj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Mon, 19 Aug 2024 18:21:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tLCkLybA9sSL4Ji3fXv3BT/Cxgp5OMxI6dsIo57voQfHpL2XTN4U1SHEbruyKXFzBd6hy1T8Bs2b/D1R4uomYihtXLENUAsal8ZZ9KhzQ1OomUfl/R0tqjk76IPR2oPK4nQbsauAfXQDNkvDi0PBaCngLa+owv7WYMNn6VC3QAb1uvto2neSBx1GK8m8p032xJ5g+/L447WKhjrQ9lDzP6G+2BNIa/UfJFDafEkgUFJWv5EnCmi/jnr1JR4bJ55YWtV0AGQxMisfFhaaFRUzyssnth/qiDi8h2m2C8U32FOqK+ysyat4bcW4s5UbW3QxP+gpZAAB6msRv77zMI9ZLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=kY2Jw/XOrzOPD0E35YP7X6CtLyFBsGx6IuEmkniQnl4=; b=vKGe3ynE/2sN10MjdEsPSFFZ1doQCL/T3TCzF3K7k2TMwklhp/Lmf/v2KT22auFuAg7NiyK3eOHTS++M8JiMKp4pNOTE2bqMhBTS4hiFYM8aH2k/yJKJ2sZmUgsBGlXDriBTjCfWLB/9h9Rj/DqUAp6r7Brg0mEzC5bFfGHX9p12163NYdymEi7rDuJQ+NCjYNOw5AKT1r616+PnegzoNACC4ipgtLGkXQco4d6sVRPaMbaQ+ZxgjAVqAE7H68z6WmrtNGAQ3DhvtAEOFOja4oRp2f3b8b1UgGAQho2gm8FbBkilJ25cpBNWSFEKXjPqQN3NaVz2BS+AuEdJ2Za7Jw== 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=kY2Jw/XOrzOPD0E35YP7X6CtLyFBsGx6IuEmkniQnl4=; b=dwMibSAPewZOGZtmDNeWrxLX/MXB/v2AAJfuTL7GdIs5XlPF4QKkODCPR6QIJb+/Hu0Vq2IvV47lfd7StD2jsxANGV5K4heVm+/yI0xf6SbFJ6L3ibuMf0GuE2X71QRKw2mT/qyIJgfwAvhLjTChYJdgWfrmKqSuplYHOKiCvps= Received: from BN6PR1001MB2180.namprd10.prod.outlook.com (2603:10b6:405:32::23) by PH0PR10MB4679.namprd10.prod.outlook.com (2603:10b6:510:3c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.13; Mon, 19 Aug 2024 18:21:00 +0000 Received: from BN6PR1001MB2180.namprd10.prod.outlook.com ([fe80::34e:408e:c7a1:2446]) by BN6PR1001MB2180.namprd10.prod.outlook.com ([fe80::34e:408e:c7a1:2446%7]) with mapi id 15.20.7897.010; Mon, 19 Aug 2024 18:21:00 +0000 From: Indu Bhagat <indu.bhagat@oracle.com> To: binutils@sourceware.org Cc: Indu Bhagat <indu.bhagat@oracle.com> Subject: [COMMITTED] gas: ginsn: x86: pacify Wmaybe-uininitialized compiler warning Date: Mon, 19 Aug 2024 11:20:56 -0700 Message-ID: <20240819182056.1532848-1-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.43.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW2PR16CA0036.namprd16.prod.outlook.com (2603:10b6:907::49) To BN6PR1001MB2180.namprd10.prod.outlook.com (2603:10b6:405:32::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR1001MB2180:EE_|PH0PR10MB4679:EE_ X-MS-Office365-Filtering-Correlation-Id: 3368b81b-e9d4-4d64-2add-08dcc07bad90 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014; X-Microsoft-Antispam-Message-Info: LUKGD1U7a9QPzSILfn7Xi0UV7qr8qTodOg+6SIORKQhWux6Tzqu3z+LHkaeAN7QuN4CI5B1+Dr7kUsRyL+bRShgPG7e4uu9I33PObQzYs7iybksOTPBvBblHag5KU/jeE4jpMbw++tGFdxs3igaO0dK6S8EI63eJhVgpN+ZJWpEFdinV+9kZemiCmVT/SVNqf8d+47EoxN0ofR2NxoXc5Vb45R/SvmV9EbthEMg49V30VV+710a+vusUIb/LzdRxjeuQmSOQk1RoX6XI67D6yzGup8lX88FU3qfz25QW6ZED9dtdkTLBioMzLRzfQAqJJgvFA/kkZQKH/HbETnvGMZfIaLnraPlalgp0KFBjX4pCuVDFEZ3fABVkv0bDrsBGFMg37Q0443fyfishKxWCFDu5APxPD0qULljqmlkD1iV3akiG561X+h5UMJCJuTKSR2qBC1uD4TF/khB1wjXaFpYHiBBlfaf3H5N1vmYIbG7X16+BzLoFiVuxf2W9rcbepHojn8E3TS8hgVs2CXMqtatoepzSVQFh96ES2+W5r96Fadmb0ucmxwgWrWMzmk4eYe8ZrxRPfNjvGoc4mrXLMVm5eetucn61GhfX8gYScmqN7Q4OlAQrpRnDjx/ySUjY6kQvZB4IQVc22NwR+jQLyKC7Clol0PdgH3g6/7dfdLrP+1b4ykaVoqeA4SgYAbRLAuUnd8mR03p6VtPM4W1T0QxmEhZe4T9BeocW3MebvvfFGEJbvZiWOQgXXAXnqGbOHoFjQl99MZAcSoK/v1VFn1wb3tSHs+7tAdJpW3XJotyXqvX1RHnkqCxHd17y1mbg4Mwt0FkTohTTUFXW8+2Y2hp3qpHJG1O0b+3fNW2KSNhgOVW7Icly1QPi3MiBacvQTJPL+Vt7SiwJM14kzFh49ystb3p6oOVL0GyXjdi4Rw4GPk6ejc1zVYKhfedLIE7Fxs3h7X+IR24iXLoEntYNdvp3qlV0EZXGKgi0DsPjLUMf2jVHUovae4ZKO84rkE0u7WQX19/b/ghc962Jhg7D26vKBjigWXA0MihbPYyfYzqN7CV/S3WTiVG5ygyHfu2vZXoGKR7f5s8TXnOWXoz8nnMwS2r5m2zJQXJ3qwCdcOiV7gwTCbLY1Ua/AJZWaIa8Cw8uE32Fmb7lfBjFWBZC2ocRHqV3QYh9ge003JAz1dioi0fx5aEhfQ/8IB9NQ4yOOLk7mrAP6feuQT3SX0p1TM5RAGVK7CLExvNy86Z7q38mJ/1XuExcFX4X8+N+TATEfYMvkwUXNqGyYQLEdjIz6oEgJMuyj1dxpV/JOdw98/ZyePUB6mDaQeiPK8JjZeG3+L/81cnZnn4pf0wg/78o7w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR1001MB2180.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: buTsUuYvisOiRErU866Htrfk49+3p1VdiPKuenoeHLvNeFayJawvuFPRslo9xRZfzv15HUTr6ajaOromWMemTYt4vToF7Q6Cn3VctXTTHH1CxvmlnDf9bD1ugHvHg2OyIW+Gm2gEyP+FlNyjXCYU8EDT3dI8FgkNQ3FmgbMr21WptTRLZj2pR0iuVB40KJ0FgTLO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QL/oyRUVkgGG8grDM8+vHaTbDxO3D4N1C318VMxGNwI+LZbTeeNnCLKgr8/4E3HM3ASMJaIabuRTz09aH+OQLr9aBsrZ3npEFwF3DkUqrzJteV532v6PtLvDortEg9soJCnNDtSu8Is1CTtdudwVN+Py+rU1bjicLM2IhJwkWLqtEyH50awVyjp1t6ELaEUJCOZoleaKJxiHyWr0nYw5LP5+c0BpRsyRTIK4tTjwgOVJOOitv0y/J9EslzJE2CaXKafh7vhUCsAv0jNqe6Vjwz12pmRDTFHbGKAzK7mYsZ4Rc5v/5FeiMn4FPox7y7IiJTDW+qhFD8lOPWBrlbDNO+grA316I/m7hx+nRmcJaqIdtr3dc= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: diUWXCYphXEtADQ8/5yw6F/V8TB1BMeZ9osVpaE4L8ry8iIDSm/x8v0a2Eb7pP+pSVUt4cCl01Z/u1VaOQ/53w/RwE7lhsaSrY13MZGISx31b9RrD7CL4V3mA4nWO2HbLn4ikxYV1wqXMavH04U3F6ecykBwfZchGeVxMCOiIcqLs7kQ1I5UPwK8wQsV16T3AEjQh6BWZJwxQRxaJSeZxIX4t0u374oneS8JyISgf+K52uwy75qNtsMotPmIdscW2Jf4TbK9rhzYqrXDEe8hcYJUZe2YGhm2xbiLVKUcLjdNqwxmUqc0Tmx1deXK69YClpvrm+EEY6c+9y1KOy4LHMbm8S5GiiieVnxG1cddW6sckwN2t0NNu+B3NX/hTtLrRlDeztYcrr6l8fJQXdXPbr/jwUtrgJTnKBjVlvJjp8rebFfD2wcTDgMMxRFexQkyEQy44fsMi5AVmNLe4lvVIrIVDnHZfmaVbK5txeUaK66eTuekmYWGatrPxqLeu+uuIX3nmPS4CEcTuBIm21qYrnCpxH+Tw+ltRqW8xTHejhY8RrRtP3sG9pRDirtsFRFToA0vAyhXxqTaetWhmCPj471NGe4kJKqfNMczlbY8//A= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3368b81b-e9d4-4d64-2add-08dcc07bad90 X-MS-Exchange-CrossTenant-AuthSource: BN6PR1001MB2180.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2024 18:21:00.5854 (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: S14A+kUpqaxqFJHISuf72CWPVy8+IttyYVghm8NNR82k9HAmha1aLttbSs7lmN04dZQ+ZerwBeli3YI6RgQg+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4679 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-19_16,2024-08-19_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 phishscore=0 mlxscore=0 malwarescore=0 adultscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2408190124 X-Proofpoint-ORIG-GUID: 0Cz2xvdKp2zG6qQGyd6BZ2JKC6QDARi8 X-Proofpoint-GUID: 0Cz2xvdKp2zG6qQGyd6BZ2JKC6QDARi8 X-Spam-Status: No, score=-13.2 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_H4, 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: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org |
Series |
[COMMITTED] gas: ginsn: x86: pacify Wmaybe-uininitialized compiler warning
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_binutils_build--master-arm | warning | Patch is already merged |
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 | warning | Patch is already merged |
Commit Message
Indu Bhagat
Aug. 19, 2024, 6:20 p.m. UTC
Fix PR binutils/32091 After commit d56083b5047b8e7cc9eda2f867bd2b75724920a1, some gcc versions may warn about unintialized usage of ginsn_func. Albeit false positive, adapt the code to escape the warning. gas/config/ * tc-i386-ginsn.c (x86_ginsn_indirect_branch): Early exit if unexpected args. --- Committed as obvious. gas/config/tc-i386-ginsn.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/gas/config/tc-i386-ginsn.c b/gas/config/tc-i386-ginsn.c index b9dc9c10cbb..a4ebdf14fe4 100644 --- a/gas/config/tc-i386-ginsn.c +++ b/gas/config/tc-i386-ginsn.c @@ -488,6 +488,8 @@ x86_ginsn_indirect_branch (const symbolS *insn_end_sym) else if (i.tm.extension_opcode == 2) /* 0xFF /2 (call r/m). */ ginsn_func = ginsn_new_call; + else + return ginsn; if (i.reg_operands) {