From patchwork Wed Mar 1 12:37:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Toma Tabacu X-Patchwork-Id: 734215 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3vYFMN5KtMz9s7h for ; Wed, 1 Mar 2017 23:37:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="A35lZAMz"; dkim-atps=neutral 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:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=GJc B+qO16S1jfI8oa7uR0H/kcPLIYPVjoRtMtNnf+ij3vo4AwEpNdiW/kPxpbTVB+qh bfHEeLF1ON0hKGs9xqdWUNXwJkoQA6kMDEOARdqZKwVeQssCeJlIfqVOrr62u43N I7zPx4X2NktEU9VeQpCZ3CzDLYZr/ozfKHmzPMco= 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:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=fm3g34y4x oulBGgncCzSg8GG9uI=; b=A35lZAMzTpLFVvCNKqcqD6b5gFX6akELdycnfqEd8 yVwcetiRVfpcz1obr08WOjqfOkw4xX4NGShW2BDVk+q4ZD7fJIWQoZpKOaTSgm93 3nwYCPHyaRMll94CT9iNLpxf3OOVRJsz353XxEGCCj6BmjA8EbGzp21Z59jjBi6a dE= Received: (qmail 4873 invoked by alias); 1 Mar 2017 12:37:13 -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 4845 invoked by uid 89); 1 Mar 2017 12:37:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1159, quality X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Mar 2017 12:37:12 +0000 Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Forcepoint Email with ESMTPS id 71AE88966EB6A; Wed, 1 Mar 2017 12:37:07 +0000 (GMT) Received: from hhmail02.hh.imgtec.org ([fe80::5400:d33e:81a4:f775]) by HHMAIL01.hh.imgtec.org ([fe80::710b:f219:72bc:e0b3%26]) with mapi id 14.03.0294.000; Wed, 1 Mar 2017 12:37:09 +0000 From: Toma Tabacu To: "gcc-patches@gcc.gnu.org" CC: "catherine_moore@mentor.com" , Matthew Fortune Subject: [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c. Date: Wed, 1 Mar 2017 12:37:09 +0000 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi, inline-memcpy-3.c fails when using -mabi=n64 and -mabi=n32 as a test-run option because it does not impose a specific ABI in its test options. As there already are variants of this test which force a specific ABI (N64 in inline-memcpy-4.c and N32 in inline-memcpy-5.c), inline-memcpy-3.c should also do so with the O32 ABI. This patch forces the O32 ABI for this test by adding "-mabi=32" to the test options. Regards, Toma gcc/testsuite/ * gcc.target/mips/inline-memcpy-3.c (dg-options): Add -mabi=32. diff --git a/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c b/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c index 3bdb28b..a449107 100644 --- a/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c +++ b/gcc/testsuite/gcc.target/mips/inline-memcpy-3.c @@ -1,4 +1,4 @@ -/* { dg-options "-fno-common isa_rev<=5 (REQUIRES_STDLIB)" } */ +/* { dg-options "-fno-common isa_rev<=5 -mabi=32 (REQUIRES_STDLIB)" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-Os"} { "" } } */ /* { dg-final { scan-assembler-not "\tmemcpy" } } */ /* { dg-final { scan-assembler-times "swl" 8 } } */