From patchwork Tue Apr 23 15:41:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 88923 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6638B384AB5F for ; Tue, 23 Apr 2024 15:43:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 99F84384AB47 for ; Tue, 23 Apr 2024 15:41:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 99F84384AB47 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 99F84384AB47 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713886910; cv=none; b=fPplOe81cctl8aGxqKc5c6/N4l76DHpaTKmJoyBtLamEq7RjDsIWqjEUOo78huSqFIcy0Acfr8Rc5qGTxrOFOTWsal4So6M1ncRqhV14ewq5jHkK9MHQN1529+cXvCDG552Gv0/mzn/u0O0WWbSyKnr0G3nhAUHvZkd/w3oTchk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713886910; c=relaxed/simple; bh=G8x4aLyYvraPoFPBF8JokaspgC53jyokWH7hNjSNaXg=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=n+nOYGAOaa2wWbA2CehgSe6sqt+PX5rAsp0iRlCPBYJqhWGd4jaCeDVfekwKZUoFEVXpNmzgnOsyab1T1eyMBk483XzOCE2yIu9g3osiXCrI1ibxIintVKtSaBpgtk81ccb1686IL0tHXiYnRWc21hCJidFsXxAgki37NdqnMCo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713886904; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=dj0Nk9WUE6ZQYfRIDZTRmwVGbgJlzV3MWQ97dPJLoQE=; b=Wv8uw2b+la70/Mxld2mAQooAEJ6/7rB7iuP+szVW29tMBYpl/0ypRX7IU12a2KHa2zCzL8 Vvi/tpHFVGQKtMZK5o0aVeWlUQK2dMsLqnviU6tWzHJUMmNNY/PuWee5/JpXNg1fjepDIZ bQ2WZr2XDTz2u8kbEzBMZZM/iHECdnU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-483-wKX5blhMMO6A6HZ_UF7mtg-1; Tue, 23 Apr 2024 11:41:42 -0400 X-MC-Unique: wKX5blhMMO6A6HZ_UF7mtg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6E29A834FB8 for ; Tue, 23 Apr 2024 15:41:42 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 306DC200E290 for ; Tue, 23 Apr 2024 15:41:42 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 43NFfe7N932799 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 23 Apr 2024 17:41:40 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 43NFfeTG932798 for gcc-patches@gcc.gnu.org; Tue, 23 Apr 2024 17:41:40 +0200 Date: Tue, 23 Apr 2024 17:41:40 +0200 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Adjust testsuite expectations for diagnostic spelling fixes Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Hi! The nullability-00.m* tests unfortunately check the exact spelling of the diagnostics I've changed earlier today. Tested on x86_64-linux and i686-linux, committed to trunk as obvious. 2024-04-23 Jakub Jelinek * objc.dg/attributes/nullability-00.m: Adjust expected diagnostic spelling: recognised -> recognized. * obj-c++.dg/attributes/nullability-00.mm: Likewise. Jakub --- gcc/testsuite/objc.dg/attributes/nullability-00.m.jj 2020-11-13 13:50:23.365551538 +0100 +++ gcc/testsuite/objc.dg/attributes/nullability-00.m 2024-04-23 17:37:18.978721522 +0200 @@ -8,7 +8,7 @@ __attribute__((objc_nullability("unspeci __attribute__((objc_nullability("nullable"))) id c; __attribute__((objc_nullability("nonnull"))) id d; __attribute__((objc_nullability("resettable"))) id e; -__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognised} } */ +__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognized} } */ __attribute__((objc_nullability(noGoingToWork))) id e_4; /* { dg-error {'noGoingToWork' undeclared here} } */ @interface MyRoot --- gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm.jj 2020-11-13 13:50:23.361551584 +0100 +++ gcc/testsuite/obj-c++.dg/attributes/nullability-00.mm 2024-04-23 17:37:35.717500341 +0200 @@ -8,7 +8,7 @@ __attribute__((objc_nullability("unspeci __attribute__((objc_nullability("nullable"))) id c; __attribute__((objc_nullability("nonnull"))) id d; __attribute__((objc_nullability("resettable"))) id e; -__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognised} } */ +__attribute__((objc_nullability("nonsense"))) id e_3; /* { dg-error {'objc_nullability' attribute argument '"nonsense"' is not recognized} } */ __attribute__((objc_nullability(noGoingToWork))) id e_4; /* { dg-error {'noGoingToWork' was not declared in this scope} } */ @interface MyRoot