From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta034.useast.a.cloudfilter.net (omta034.useast.a.cloudfilter.net [44.202.169.33]) by sourceware.org (Postfix) with ESMTPS id 5C5923858D37 for ; Mon, 18 Mar 2024 16:20:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C5923858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5C5923858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710778839; cv=none; b=AlohbkLZraxR8ir16wCglzAtigUKzI3SES/jfGdVTlfnIGyxNSwVQdnNyphelrLinO1Lactj+IPsrT98SKMiP0yXlqHAf4cviKMFAcw4MXRt8/itJ9PvbHQph5cy9s7dF820V14pHvM2fjfenAZslQkdxZw4TZ+rN76sGO+RX1g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710778839; c=relaxed/simple; bh=3OSjt1Vj6rgzS9Al6toywRErtZuvidFBPYXR3oDnMoE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Sb4ntxEhwiBQxfIjOmIv5Zvdxi5iLiI97DeG4nkBtUPf98EFIuGTtCdDHZyiJEueRwweB8suSXyJrTtg+o5E3iKB9eqfQgKgRy+XbVeMt7CS+SnU3BY/zdo5NZ4YF1sPZknIcPJT/GGY1D2eKC6guPJ1v+ib/0eGikMW0Yv4+X0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6010a.ext.cloudfilter.net ([10.0.30.248]) by cmsmtp with ESMTPS id mChCrYPdMs4yTmFj2rZW1v; Mon, 18 Mar 2024 16:20:37 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id mFj1rajSukYMSmFj2rxPAq; Mon, 18 Mar 2024 16:20:36 +0000 X-Authority-Analysis: v=2.4 cv=PZX5hDhd c=1 sm=1 tr=0 ts=65f869d4 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=K6JAEmCyrfEA:10 a=Qbun_eYptAEA:10 a=zstS-IiYAAAA:8 a=ZWV8LbUVLwGSUCLK0w4A:9 a=QYH75iMubAgA:10 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oA2MKOcqWDqscp88KVdq9vl0xPFQF4GmoaXVHMlVMnA=; b=YDtTbMSrwIUjxqFq0DxqQaaVdN y+RMtK6CE/mCt+fY8pp57L4+tgpC90+cGi9C0eNCDRkhDhZglvFBFJdOQHMKBLcHmWWMMLB47EWas K1Ny4h5TkcL+WThhdBjhgFqVF; Received: from 97-122-82-115.hlrn.qwest.net ([97.122.82.115]:42256 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rmFj1-002eD7-1Z; Mon, 18 Mar 2024 10:20:35 -0600 From: Tom Tromey To: Hannes Domani Cc: gdb-patches@sourceware.org, Keith Seitz Subject: Re: [PATCH] Fix comparison of array types References: <20240209194545.31497-1-ssbssa.ref@yahoo.de> <20240209194545.31497-1-ssbssa@yahoo.de> X-Attribution: Tom Date: Mon, 18 Mar 2024 10:20:34 -0600 In-Reply-To: <20240209194545.31497-1-ssbssa@yahoo.de> (Hannes Domani's message of "Fri, 9 Feb 2024 20:45:45 +0100") Message-ID: <87il1jika5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.82.115 X-Source-L: No X-Exim-ID: 1rmFj1-002eD7-1Z X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-82-115.hlrn.qwest.net (murgatroyd) [97.122.82.115]:42256 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfEwuF1WGsd9Vb09D34dmyGCUv+uSxD66oR0xmJdo9CQ7zebA8pzOhU7aURpMrndQhIB30LeiRwcLoZrrKSvTX1jfPnUKiRdLwsrRW1aaHwMiAMC403aY XtVka1VC1PVLVco5a/MvVclAmdvj7uKYEcZORFecue44TMkrQrWQYJo8PICmYsg527x835LPR5543G/kKLfow/Mg5WSZCRbesDA= X-Spam-Status: No, score=-3015.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Hannes" == Hannes Domani writes: Hannes> This happens because types_equal doesn't handle array types, so the Hannes> function is never even considered as a possibility. Hannes> With array type handling added, by comparing element types and array Hannes> bounds, the same works: Sorry about the delay on this. This is OK. Approved-By: Tom Tromey Tom