From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26530 invoked by alias); 20 Nov 2014 09:57:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 26463 invoked by uid 89); 20 Nov 2014 09:57:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 20 Nov 2014 09:57:29 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sAK9vO5N031492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 20 Nov 2014 04:57:24 -0500 Received: from host2.jankratochvil.net (ovpn-116-31.ams2.redhat.com [10.36.116.31]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sAK9vLDw012132 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Thu, 20 Nov 2014 04:57:23 -0500 Date: Thu, 20 Nov 2014 09:57:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: should be fixed: Regression for gdb.ada/arrayidx.exp [Re: pushed: [commit/Ada] Ignore __XA types when redundant.] Message-ID: <20141120095721.GA6830@host2.jankratochvil.net> References: <1415983452-26484-1-git-send-email-brobecker@adacore.com> <20141119084842.GN5774@adacore.com> <20141119181852.GA439@host2.jankratochvil.net> <20141120041010.GQ5774@adacore.com> <20141120064518.GA29026@host2.jankratochvil.net> <20141120094656.GS5774@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141120094656.GS5774@adacore.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00457.txt.bz2 On Thu, 20 Nov 2014 10:46:56 +0100, Joel Brobecker wrote: > Thanks. This allowed me to understand the source of the problem, > and to push a fix (attached). > > gdb/ChangeLog: > > * ada-lang.c (ada_is_redundant_range_encoding): Return 0 > if the TYPE_CODE of range_type's base type does not match > the TYPE_CODE of encoding_type's base type. Confirming 005e2509a167c05719df3a3edd966865110a5052 PASSes now on F-21.x86_64. Thanks, Jan