From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id GzXeFC/Je2J/qAUAWB0awg (envelope-from ) for ; Wed, 11 May 2022 10:33:19 -0400 Received: by simark.ca (Postfix, from userid 112) id 38DF31E220; Wed, 11 May 2022 10:33:19 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=IYNrs4R/; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (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 simark.ca (Postfix) with ESMTPS id 792F01E01D for ; Wed, 11 May 2022 10:33:18 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 101A53835C35 for ; Wed, 11 May 2022 14:33:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 101A53835C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1652279598; bh=5TYNs6YK/8JEL9L2z0LGH3CepZF0OMvMh+N7+MyNozk=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=IYNrs4R/QW8OBYPntR+jk4l1Wg4638i9ojJ19avYoTru3lUFib4EPm6WymUmlY5Fz 11w97wSmJbPSSausZI6lCreEISPKaiqMFBnNU09u2Zf9qtu+Che+YTEMo98VxIvEJD tJaqIk99DwxP3OMZPuxHfw4RGFMhr9osz8RAdFyQ= Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by sourceware.org (Postfix) with ESMTPS id 04BEA3835C27 for ; Wed, 11 May 2022 14:32:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 04BEA3835C27 X-IronPort-AV: E=McAfee;i="6400,9594,10344"; a="249611386" X-IronPort-AV: E=Sophos;i="5.91,217,1647327600"; d="scan'208";a="249611386" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 07:32:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,217,1647327600"; d="scan'208";a="542330847" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga006.jf.intel.com with ESMTP; 11 May 2022 07:32:48 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 11 May 2022 07:32:48 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 11 May 2022 07:32:48 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 11 May 2022 07:32:48 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 11 May 2022 07:32:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jlKFILBPw0tMUspBihWfOTjylIZwlPan/qsLVm7tJna/C7lQ7j8pTo23GZ/DSGfq47a/HNcmmlWbmnuPXfe8eiUqdt3CiCk1DyaDu0+T4dLkhS9Rg43Wyiniw9pgKJ2EAxRLEfZ4BM1fQG40RcqkdMX4wPaSqnRIDtlbKZOVyDfjYGQrtrrhX9egz0RVbAx1qNelJrI+Vs5dHGspBjmw5HZX7mMO4Z5pzpIHfmwvBuR58nZtM2pz1019k270izuDHCcYsqC7PeQF+LhkzKN9Q0pOY1EB12uFG+huuniyW4h+GEhzUMuwbn6JPSn5M1wKx8s/HveMvoP6UriR59J7mQ== 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=Fvi9WA8cb09DcSfGsKD4Bjqh95ntZMbSZINoTYm3Jjk=; b=XhnvPHS4KjM4S/lcIaHIlw8uVW99nHtIsUQEpMnkbRuwGKMpVMkhpmYk5GBMLHhS8RtOcA26UUi7DiX11cin1fAXRqMJZOo8saUDQcZED+kDNseK0lwes/lnqjoQcROIhAUk3x5Pc+ByVbh3YIMSEpKJ3BmjlQS6FQYUpY4mEe5cZGAQcyXhsWgpS0fnQtZOTrGuFI9iOLYM2L70jgOPk98wWCZ7AHECIQ0hTmerBSwx+0bbbOIdabx2PSwCvVvk4b9ULc46Dk9O5CnJavEeGi4PMFM+8ml5N55VYfMxyNCyf4f82nSLFBTlYEWSLa7ewPd688Kvyu3mc0Md+Nh1YQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CY4PR1101MB2071.namprd11.prod.outlook.com (2603:10b6:910:1a::10) by MW5PR11MB5930.namprd11.prod.outlook.com (2603:10b6:303:1a1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Wed, 11 May 2022 14:32:44 +0000 Received: from CY4PR1101MB2071.namprd11.prod.outlook.com ([fe80::403f:f9f0:74f2:c5b9]) by CY4PR1101MB2071.namprd11.prod.outlook.com ([fe80::403f:f9f0:74f2:c5b9%10]) with mapi id 15.20.5250.013; Wed, 11 May 2022 14:32:43 +0000 To: Andrew Burgess , "gdb-patches@sourceware.org" Subject: RE: [PATCH 08/18] testsuite, fortran: make print-formatted.exp more robust Thread-Topic: [PATCH 08/18] testsuite, fortran: make print-formatted.exp more robust Thread-Index: AQHYZHnPCRvleCgk5Eq/8lVmX89RO60ZjKGAgAAxPzA= Date: Wed, 11 May 2022 14:32:43 +0000 Message-ID: References: <20220510142437.1397399-1-nils-christian.kempke@intel.com> <20220510142437.1397399-9-nils-christian.kempke@intel.com> <875ymcl2yc.fsf@redhat.com> In-Reply-To: <875ymcl2yc.fsf@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.401.20 dlp-reaction: no-action x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 245597d0-d572-419f-34dc-08da335b1c78 x-ms-traffictypediagnostic: MW5PR11MB5930:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Skn7wWBN1o727oT0m0B1a6qRqyg36EzMPAUOyfeg6f/qvNxoTc5MCDAw6MPjBUtelbIf+69IL9I/H5Qc6qW40GeBQuIODwAkMTMFYFMHcLcCnd2rGRgjaJCYhC56F/i8FU8oh7NHraYvlHBLcKmQHe2xHy+69Bn0OgvDtvY0Q52Ej5zaqPNcZjfZPh+aLiMpjwR51OpFkeU3MjZ/5NFjib43X2vTl9XSVzl7IsL7Q9br9Y6Bm5DZTeljnyJ86yvdMeQUIHcj/28SjW5bq/kdqgCbh6vxfO13c/ZZ8XiwP1yECiePOOKjNk81A1O9bHvwFQqeGuIJFaM0VbE+3ZMUXQ3xdeHzI5jnx70wqkCiXo1ON4Aj7NZU6wYlk7eHjiveSEo80AMVmAX+x3FZWtDWIKBGMDvrebOB/hJY6BxKMxZ5ZzgvM+S6QptrtHBRwsGbTuTkwc3crFY2GlCwEb0ZWmKtqM30cZoB1xld8IAmP16gTtrSVmSCLdGFrTaFEI1S92ixZvyYmFAlqUvBCWWru+wN66QSK6mrxRYmu1s3N9M7UN8fCS0W2EYaRMytJqAeZWH34wRRHR863Vo5zAMF/Q+WK7uK7r8u76R9ZlIbR1KkrDizZPqND3saQXiLT9ZTUUdMlJHYutdEasfOGah3UEH4v6jb6xy1LK9DMUC6WE+IQDBDChHnEnFkC9+59RyDQhnl+9XRmT7dz9ydBh5DhQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1101MB2071.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(66476007)(66946007)(26005)(76116006)(55016003)(9686003)(110136005)(508600001)(82960400001)(66446008)(316002)(64756008)(66556008)(2906002)(7696005)(186003)(8676002)(71200400001)(86362001)(38100700002)(33656002)(122000001)(6506007)(83380400001)(38070700005)(52536014)(8936002)(53546011)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TSvmSsL77uQSHAy9dnzBJqwqRa7COPiNA6saeR3Bwl9xcOLQjsqC8MrCF5t2?= =?us-ascii?Q?6LndCl2UU+raIUhltvkGJH2lwveJt6dvtut4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fUNRguF6va8vLfutYNP+geFnYv+kqnR3/zhEomcM1oHa0DvR+dOR+qaTWj?= =?us-ascii?Q?DJnY1SBRKFoalZFE5HHX4hcLljuI3b+sYEa6rga+25qBxysZDF7aa5oLWED/?= =?us-ascii?Q?sUmQ77xjqNb0RGS8awbYDYsHObvSTWZeHVmhe27t1p8lB3Lg9EIEbi9vraUo?= =?us-ascii?Q?hF0pbRTGyp51swcq0a0KYSatN09yFmOsD7VitOz2g3Hetv1L3IMoHZiGKxKd?= =?us-ascii?Q?JbrnksmUuM0q4VDBTgwdyIaSovp2wEhyN5NcaY2k2PRFRi835l6Xa2rX2P6W?= =?us-ascii?Q?0YAbyTmWYRZN94M8R3RgrHhBB8dFRPCJSAkoJYk0J7403eUFigM0nLyPmdoY?= =?us-ascii?Q?P9h6LTvPf9KngJuKNhn2c1jkp+pDN6Uv2gdFToG/9kAaXNOZd+aAmuBhdNZV?= =?us-ascii?Q?hxnURZIPU0hgpNoLONzEOKQEBDYvE36dIqWOvXkd8wYReTrC6Qm5MJIr+3Ll?= =?us-ascii?Q?vBoHaMbtZaT0x3QR2HvExMohirUfgfutV4uzyjWjh8AlGBTdf07Nvw7v/+ZF?= =?us-ascii?Q?tJL57FbP7qAs/bcD83+gRQSNX4mczJwcDehnJIoa3clu7X2BeV4G4soI0qHU?= =?us-ascii?Q?r/WAfAZBdmRX8OpqmsHcIOxa0vGxP9WenP9I2ikyhBhc/vs/nbd6qoUF0r5N?= =?us-ascii?Q?xhLsaW9aiivEHAuimAjmrkUuQWXEd3h174DZoJiqpMQtgVxCtgcdu5fLlH27?= =?us-ascii?Q?tZD216vFvf9h4nC6pgvHRsnbFyczlPonDwlNuZeKeoV317ezcWlXZC+kiGB3?= =?us-ascii?Q?HFG8gMbosvq/2uvS8+4piRsEV0Rebvs=3D?= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR1101MB2071.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 245597d0-d572-419f-34dc-08da335b1c78 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2022 14:32:43.8401 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kO7xkTqhhaD+rmp3Xi+oyJckECgUXr1/WJrYMlE2lyEHu5Dsejh0DJcMiKepffQKzDoGxUYEDXq8y5g28hsPFXAhqRBkVumjzQ2sQRhfyIc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5930 X-OriginatorOrg: intel.com Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Kempke, Nils-Christian via Gdb-patches" Reply-To: "Kempke, Nils-Christian" Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > -----Original Message----- > From: Andrew Burgess > Sent: Wednesday, May 11, 2022 1:32 PM > To: Kempke, Nils-Christian ; gdb- > patches@sourceware.org > Cc: JiniSusan.George@amd.com > Subject: Re: [PATCH 08/18] testsuite, fortran: make print-formatted.exp > more robust > = > Nils-Christian Kempke via Gdb-patches > writes: > = > > The test was written in a way that assumed, that going to main and > > issuing a single next command would automatically end up after the > > assign statement for ii. This was true for gfortran and ifort, but not > > for ifx leading to a failed test. For ifx, GDB actually was at > > the assign statment (not past it) and printing 'ii' there would lead to > > GDB displaying it as 0 (instead of 10), failing the test. > > > > I changed this to become more robust and added a line past the > > assignment with a comment, as is commonly done all over the testsuite. > > > > After this change the test passes for all, gfortran/ifort/ifx/flang. > = > I have no problem with this change, the point of the test is clearly the > print formatting rather than the behaviour of 'next'. > = > That said, isn't the behaviour for ifx indicating a bug in the generated > debug info? The program only has the single 'ii =3D 10' statement, so > surely when we run to main, that's where we should stop? Then 'next' > should move past that line? > = > If you agree then it might be worth mentioning that this is working > around the compiler bug. > = You are completely right here. We also think this is an ifx bug. In this li= ght, I would rather like to drop this patch from this series. We'll instead work= on fixing this bug in ifx. Thanks, Nils Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva = Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928