From patchwork Mon Nov 4 18:30:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 1189110 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-512350-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="q73dENDj"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 476Lw34h8Hz9sP3 for ; Tue, 5 Nov 2019 05:30:57 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=S7gIkN+rjVOeedjS jJC0gGmTUIVOt42z5smtLZd+3bwm5QZGl5pFk4nUZZt6PWVCx01ch7cHcU8go/2i Pu5fEiwKgr71P11kTQKDYAPHhZ/l/mfUqpPQsiSRukDfV8Bg4vb/N2GnNhIQc9XX B6r77WDBXUGDUa7E39pNaveKRoY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=crHHISIeBoj7FESas/ZA26 DVtHE=; b=q73dENDjMYVJ9hRX3uiNPSntIH7meuqIUhH0ErP42CjQ6QegLfxNXJ k7J2EL2q/yZhx+IdQ7JLSFPfocDMNf6GiApg98FMPE4zZdiNfZ4K+ntGOrlW4XuT WB+DTJVfy9Q2+lgLSPgoxNQO9r9fkoZ+tmJaqSmwscLvTEKaLn4Z0= Received: (qmail 48667 invoked by alias); 4 Nov 2019 18:30:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 48596 invoked by uid 89); 4 Nov 2019 18:30:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=Accept, HX-Envelope-From:sk:ebotcaz, H*F:U*ebotcazou, *return X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Nov 2019 18:30:47 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 2422C81398 for ; Mon, 4 Nov 2019 19:30:45 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rtTQWPgrt-cN for ; Mon, 4 Nov 2019 19:30:45 +0100 (CET) Received: from polaris.localnet (unknown [IPv6:2a01:e35:8a16:3850:1a03:73ff:fe45:373a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 01DA181397 for ; Mon, 4 Nov 2019 19:30:44 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Fix PR testsuite/92302 Date: Mon, 04 Nov 2019 19:30:43 +0100 Message-ID: <2720297.fpVaHZfBUY@polaris> MIME-Version: 1.0 This makes the test more robust by relaxing the regexp. Tested on SPARC/Solaris 11, applied on the mainline. 2019-11-04 Eric Botcazou PR testsuite/92302 * gcc.target/sparc/sparc-ret-3.c: Accept more registers in address. Index: gcc.target/sparc/sparc-ret-3.c =================================================================== --- gcc.target/sparc/sparc-ret-3.c (revision 277436) +++ gcc.target/sparc/sparc-ret-3.c (working copy) @@ -50,4 +50,4 @@ unsigned int bug(unsigned int crc, const return *ctx; } -/* { dg-final { scan-assembler "ld\[ \t\]*\\\[%i5\\+8\\\], %i0\n\[^\n\]*return\[ \t\]*%i7\\+8" } } */ +/* { dg-final { scan-assembler "ld\[ \t\]*\\\[%\[a-z0-9\]*\\+\[0-9\]*\\\], %i0\n\[^\n\]*return\[ \t\]*%i7\\+8" } } */