From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 BEA4C3858D1E for ; Tue, 25 Apr 2023 12:45:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BEA4C3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682426704; 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=0YtLpvrIjMm1A/Qh3XoeRKe7KtWJV/oYaZhtb1KcHjI=; b=hOQrVgKapRq/r/L7xWqa87X4uNnLl4lnV9fZXo+isrjWim68lrRtiw8Xw89mQBJoz/hq6c rNgleaZQpuyL+hFJSs8y60dJxHijj9UyM3WhmKjH4kX1tF3EvvblUBuPcTko8QZmtiNpM8 /vNzOSctysikUL9KoKlSUZwgf0QDr9E= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-472-DapUghTwNzC9-d0cNE3BeQ-1; Tue, 25 Apr 2023 08:45:02 -0400 X-MC-Unique: DapUghTwNzC9-d0cNE3BeQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 54F871C08966 for ; Tue, 25 Apr 2023 12:45:02 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.194.156]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 145EF4C82F for ; Tue, 25 Apr 2023 12:45:01 +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 33PCixwc2365088 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 25 Apr 2023 14:44:59 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 33PCiwRo2365087 for gcc-patches@gcc.gnu.org; Tue, 25 Apr 2023 14:44:58 +0200 Date: Tue, 25 Apr 2023 14:44:58 +0200 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix up ext-floating15.C tests on powerpc64-linux [PR109278] Message-ID: Reply-To: Jakub Jelinek MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3.8 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_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi! I've noticed this test FAILs on powerpc64-linux, with FAIL: g++.dg/cpp23/ext-floating15.C -std=gnu++98 (test for excess errors) Excess errors: /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:1: error: variable or field 'bar' declared void /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:5: error: '_Float128' is not supported on this target /home/jakub/gcc/gcc/testsuite/g++.dg/cpp23/ext-floating15.C:8:6: error: expected primary-expression before '_Float128' and similarly other std versions. powerpc64-linux is float128 target, but needs to add some options for it. Fixed by adding them. Tested on x86_64-linux, i686-linux, powerpc64-linux and powerpc64le-linux, committed to trunk as obvious, queued for 13.2. 2023-04-25 Jakub Jelinek PR c++/109278 * g++.dg/cpp23/ext-floating15.C: Add dg-add-options float128. --- gcc/testsuite/g++.dg/cpp23/ext-floating15.C.jj 2023-03-30 09:34:05.609725768 +0200 +++ gcc/testsuite/g++.dg/cpp23/ext-floating15.C 2023-04-24 13:17:40.466212406 +0200 @@ -1,6 +1,7 @@ // PR c++/109278 // { dg-do compile { target float128 } } // { dg-options "-w" } +// { dg-add-options float128 } void foo (long double); // { dg-bogus "initializing argument 1 of" } Jakub