From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ldEVIOiEPmZfcg0AWB0awg (envelope-from ) for ; Fri, 10 May 2024 16:34:48 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QUanK3k6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 6E4C71E0C1; Fri, 10 May 2024 16:34:48 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 588B91E092 for ; Fri, 10 May 2024 16:34:46 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E2D7D387086C for ; Fri, 10 May 2024 20:34:45 +0000 (GMT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 53658386F802 for ; Fri, 10 May 2024 20:34:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 53658386F802 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 53658386F802 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715373269; cv=none; b=BaiGKrU1gaqwJjKTanBCH+fq1V/1pYsmAi1Afh+2LVLOgwHMDonxojKR6fixNilVXVHU+5vJY0Rvc9f3p/rp2cWLRYjnxtEXs1m6Zo6/cL4T5O6BrYUY+64oyEsiXC1bVgQkAn7you7wOTqX3dJWsglaNiqfFetQOdy7soFLFPM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715373269; c=relaxed/simple; bh=nQ5lj6O9DEcsWF3bjT8oLuKIahfKGnLXHgsPK25TWUk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=HJhZQpMJMNDDe3JQvu2kwQGztpHAOhJgSwg8KlPXvc+L6pf/sHKmpQjiygB4la1RW7sxDtRuV6shzafHbuJa6rDu0ESC9KU4FiLMZ67esuLY2tYKtcrpwcFYJLOW8b0/0sXEWUurDJsTqKMmctAzsAm3dA3FDF4iuNBtqHFHIJ0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715373267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bldrDDDIm3hBLOnjO+09eYGyVZeMTEqMIO1o5qHfnW4=; b=QUanK3k61k9eS2yW1sXbwq1I0iT6cwovv95XlTuPVfjbH5NaXDD/TgfDUpC6YG9+po6XpP 47P26vD7ysesksg+JIJ/Ggp2Hm5h3gPAFnWMA/gukUkILUH+PggCJjoCoWh9PAqaAvSi/C OBEGOJbnXcM7I567O31cy5wG6hhoTlM= Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-470-XRi1fi7QMn-Slf_M9vmmMg-1; Fri, 10 May 2024 16:34:14 -0400 X-MC-Unique: XRi1fi7QMn-Slf_M9vmmMg-1 Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-1ee13ebef37so23675815ad.2 for ; Fri, 10 May 2024 13:34:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715373253; x=1715978053; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bldrDDDIm3hBLOnjO+09eYGyVZeMTEqMIO1o5qHfnW4=; b=PrcBjcJ6fYbrTjJDuiwXUeGhnDxJINDD4GHTgH2grIN5q4dEQYfXQC3R1OnnWCOqdk rgwfklGo10PgkDmXGZ9XNBhhaV+iQNgoPiSVVaa51eEbUQbEt6oqsvPPTDwPlF6ai2GI gkjh3UyXpdn+6lhw1MWVRM9l/qL7AtLuaANhxe95+jMtbgnykYPXlENpspXRAsMRnXyD LnVpJaxd4WNw0qEUzlKt4WPepNW3VlvDigsejchnGnWmi77a4JvuDUl1z120zX7BGqnc UnT5vrJJa5z6S5TPK24t7sM68VXaai/lW9Vb8yKI9FBJsKJFC/voPCWD3yR0cNH4ie12 ZA8g== X-Gm-Message-State: AOJu0YxpP3IwjhpYrzm0eao191Ni484sFGO6BRlfPbLfg8kTAuWga7uU aHzpNvIMiDVYkGLMf63rY/6ZB0DfjDV+weyrg6qU3hmKIpNG7OBOJJX6eWJ2qoT6NXUmGRCE5K2 DjhZOxQ6JrBbg3ufTx5q2ABCmTuNzFmJJQEVlhYZct3G7P/1m9PKma6niHipFrVwIyDQmV6SgVp YTt/66AG0215h9XGfAmUtyyAa8yjzYlIlARREqma8= X-Received: by 2002:a17:902:720a:b0:1ee:b47e:4ea with SMTP id d9443c01a7336-1ef43f3d39cmr33553345ad.38.1715373253382; Fri, 10 May 2024 13:34:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtVSjrBF4ZnSOHoMdFtLLpeQcr55nvnIINtk7C1zX0tTlun4oyIQTXXqv26CzvUFld3jFGHQ== X-Received: by 2002:a17:902:720a:b0:1ee:b47e:4ea with SMTP id d9443c01a7336-1ef43f3d39cmr33553175ad.38.1715373252872; Fri, 10 May 2024 13:34:12 -0700 (PDT) Received: from jason-thinkpadp1gen4i.rmtusma.csb (130-44-146-16.s12558.c3-0.arl-cbr1.sbo-arl.ma.cable.rcncustomer.com. [130.44.146.16]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0b9d34a7sm36567295ad.7.2024.05.10.13.34.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 13:34:12 -0700 (PDT) From: Jason Merrill To: gdb-patches@sourceware.org Subject: [PATCH] Adjust C++ destructor type tests Date: Fri, 10 May 2024 16:33:20 -0400 Message-ID: <20240510203409.1897598-1-jason@redhat.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org In gcc-15-95-ga12cae97390 I dropped the unnecessary artificial "in-charge" parameter from destructors of classes with no virtual bases; Linaro's CI informed me that the gdb testsuite needs to be adjusted to match. Teested against GCC 13.2 and GCC 15 trunk. --- gdb/testsuite/gdb.cp/m-static.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/gdb.cp/m-static.exp b/gdb/testsuite/gdb.cp/m-static.exp index 19eb70b7d71..45bc090d01f 100644 --- a/gdb/testsuite/gdb.cp/m-static.exp +++ b/gdb/testsuite/gdb.cp/m-static.exp @@ -79,14 +79,14 @@ if { [is_aarch32_target] } { "simple object class, ptype constructor" gdb_test "print test1.~gnu_obj_1" \ - { = {void \*\(gnu_obj_1 \* const, int\)} 0x[0-9a-f]+ } \ + { = {void \*\(gnu_obj_1 \* const(, int)?\)} 0x[0-9a-f]+ } \ "simple object instance, print destructor" gdb_test "ptype test1.~gnu_obj_1" \ - {type = void \*\(gnu_obj_1 \* const, int\)} \ + {type = void \*\(gnu_obj_1 \* const(, int)?\)} \ "simple object instance, ptype destructor" gdb_test "print test1.'~gnu_obj_1'" \ - { = {void \*\(gnu_obj_1 \*( const)?, int\)} 0x[0-9a-f]+ } \ + { = {void \*\(gnu_obj_1 \*( const)?(, int)?\)} 0x[0-9a-f]+ } \ "simple object instance, print quoted destructor" gdb_test "ptype gnu_obj_1::'~gnu_obj_1'" \ base-commit: e14f6ec969d788b73ac61f61e8c623536cda1cad -- 2.44.0