From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24883 invoked by alias); 17 Apr 2015 10:47:17 -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 24871 invoked by uid 89); 17 Apr 2015 10:47:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 17 Apr 2015 10:47:15 +0000 Received: by pdbnk13 with SMTP id nk13so124505529pdb.0 for ; Fri, 17 Apr 2015 03:47:13 -0700 (PDT) X-Received: by 10.68.132.194 with SMTP id ow2mr4354931pbb.51.1429267633621; Fri, 17 Apr 2015 03:47:13 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id md2sm9755924pbc.13.2015.04.17.03.47.11 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 17 Apr 2015 03:47:12 -0700 (PDT) From: Yao Qi To: Pierre-Marie de Rodat Cc: Joel Brobecker , GDB Patches Subject: Re: [PATCH] Do not consider reference types as dynamic References: <54FEDC09.3050106@adacore.com> <20150323133627.GG5438@adacore.com> <551BB1C9.10006@adacore.com> <551E5309.7090509@adacore.com> Date: Fri, 17 Apr 2015 10:47:00 -0000 In-Reply-To: <551E5309.7090509@adacore.com> (Pierre-Marie de Rodat's message of "Fri, 03 Apr 2015 10:44:57 +0200") Message-ID: <86k2xbrpzs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00658.txt.bz2 Pierre-Marie de Rodat writes: > I've tried to do this and this still triggers no regression on > x86_64-linux. It's not surprising actually, since > resolve_dynamic_type_internal does nothing on a type when > is_dynamic_type_internal returns false for it. Hi, Pierre, This patch causes a regression in gdb.cp/vla-cxx.exp unfortunately, print vlaref^M $2 =3D (int (&)[variable length]) @0x3fffffffe900: {5, 7, 9}^M (gdb) FAIL: gdb.cp/vla-cxx.exp: print vlaref which is shown by buildbot https://sourceware.org/ml/gdb-testers/2015-q2/msg00360.html I am not familiar with gdb type and dynamic type, so can't give anything useful on how to fix this regression. Any thoughts? --=20 Yao (=E9=BD=90=E5=B0=A7)