From patchwork Mon Nov 13 16:39:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 118815 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2002161qgn; Mon, 13 Nov 2017 08:40:12 -0800 (PST) X-Google-Smtp-Source: AGs4zMZkjlvr+gonEXbKYVTOisBlxnVn8MJWQy94S1hkCXw/XWpsSPiSfu+AeIkzHvSWLQr7j1vB X-Received: by 10.98.103.156 with SMTP id t28mr3237493pfj.234.1510591212065; Mon, 13 Nov 2017 08:40:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510591212; cv=none; d=google.com; s=arc-20160816; b=ANbem5+RjDMhnHpv0GsC8tpqX3V/iJQ3DORTHbB+F0msHnbY724E68oe3kaUWJWR7s 5hQm2fhlzF3HuHldwOFzfULg6kVYOZ7+YMik55FH5HJCXrSt8wAGR5axpVkYsnIzQIGX Dcn224jurINciizXtJpcc6Lyn5LGEHvZMwCEvye99C8BS+TDEhocYk8f5hvI6XzmPliK VeThN1/+YF6surXUKmSqRvjtEj/+q3Nve8oPFKbwH80P2UvcSlR+54wL0mxLB6M/XaF7 7ePAKPXP+0ipHcKSZH4LuOd5QVJ8BkF13OprBhvK0YgUzFFkn+QndIx49ObYYSf70ilV F+4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:delivered-to:sender :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=iYDNkWKoY7jVQAewgyHmeHcG7AxiUUZcg1Flgh2DpNQ=; b=LUCP+otGnTr/NETTtc9zn7qFUqyOMT+7/GInyjpen83SzutgXo8U771kTC8NDkDNCT 0a4Rtm76frWCwHEkofTdoWNWodHkzI6kJTdclGI4HiTZ1Mz1rUQasmvyLwydtR59V8ps X99TTldhOJUniWx/ul5ffVSrZFES14FrgpuWdCdRTBxo+wrMRqH3xPucppagq13KBuR3 TR41H4qqWxBIBe8a5tXtbljUjkBEi4T4fPDULvOUzf8q4SdjMyDuh4mOEw2lnTpDxr5K JbXLdrtS3uKiQ13JqNkZ1awwJ3/mPpudDA8AGlzGB/gk0o/W/VdfibEj3MjKJ/kgxRsm AHCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=FcU23+0o; spf=pass (google.com: domain of gcc-patches-return-466655-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-466655-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id s14si15841949pfa.333.2017.11.13.08.40.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 08:40:12 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-466655-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=FcU23+0o; spf=pass (google.com: domain of gcc-patches-return-466655-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-466655-patch=linaro.org@gcc.gnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=r1E9/LMFAG9j1f9SLY6yas+Hd2ELrdf45JL0767mJsa76k 16E4RWIYC6kOrpOE1YFm1emio7Rf0DTouAT/xj8lOnxqQxNV9uN/4gT0cAdT0D5h zKxC24yjAnTRiz3o0Mc1iz28i4MC+7sixS/k6V0j4ellhJc9A4x+21OFsAGsY= 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 :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=WyUDd4dSakbtAz8TlG9788nWF98=; b=FcU23+0orTol2JzznPBq iRA2qeFQwEW7or82uda6Kqi82wIeK3TS3QhB0tUA2sqK5p1tHKoOhJrvVDJ35nwr x15x7xJ0ayQfELNmPX9ptcGQlvN6+vlbhzooXhQCJVXplKu3MhdEbI4ir4L327xy w6+6EbqICoQ4mjKVQCrCFas= Received: (qmail 110403 invoked by alias); 13 Nov 2017 16:39:59 -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 110222 invoked by uid 89); 13 Nov 2017 16:39:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.0 required=5.0 tests=AWL, BAYES_20, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=pr67989.C, pr67989C, UD:pr67989.C, pr67989.c X-HELO: mail-vk0-f54.google.com Received: from mail-vk0-f54.google.com (HELO mail-vk0-f54.google.com) (209.85.213.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Nov 2017 16:39:58 +0000 Received: by mail-vk0-f54.google.com with SMTP id 22so6760747vkq.4 for ; Mon, 13 Nov 2017 08:39:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BAvXnvNgIwJxt6JGLV+US81mtRS+TaEGyTmqcKpOkT8=; b=mlyXR7EZJPHNlEbv3QWEBm4CfL9rVMgb3rREktpFKQ5KB50ci56+qE9Bms/i7koF/K /TDVHl704OBOz2zLcONDekmRmj+5Ir75Ef4xjYN/umQrIOVY5GxTMhlxQpII4u4XT3n6 DH3+eUi1aVC26UJnX2OTVfvK8oiCAgqcV/fdPHOHEn9beps5EdQ52ZL56uT1HKDCEQ45 3yB3MNmskm2ykp/wpy/HDa7EuH4jht7N2Oe6IFbywY9qTC9gWGxTVutUwxXd1Clu6bcZ 9xFPjB8FhNgP+ob0NZj0zu7RRpWq7xcJst7kwxHqctAfSPv721T9zizBhINxC6mBZaJ/ t4oQ== X-Gm-Message-State: AJaThX7HBJ0P6JA/DO4F+nvykr63KtB3hKNsBn3D+Y5BeHVbRyQhj2QY Pg6r/S67UByqfID46BsaBiEI94QYh7zy75HnGKxhrSfTbn4= X-Received: by 10.31.172.137 with SMTP id v131mr7856706vke.75.1510591195668; Mon, 13 Nov 2017 08:39:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.94.66 with HTTP; Mon, 13 Nov 2017 08:39:54 -0800 (PST) From: Christophe Lyon Date: Mon, 13 Nov 2017 17:39:54 +0100 Message-ID: Subject: [Obvious][PATCH][ARM] Fix more -Wreturn-type fallout (gcc.target/arm/pr67989.C) To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes Hi, I've committed the attached small patch as an obvious one, doing the same thing as Martin in the other copy in g++.dg/pr67989.C. Christophe 2017-11-13 Christophe Lyon * gcc.target/arm/pr67989.C: Add -Wno-return-type to dg-additional-options. Index: gcc/testsuite/gcc.target/arm/pr67989.C =================================================================== --- gcc/testsuite/gcc.target/arm/pr67989.C (revision 254691) +++ gcc/testsuite/gcc.target/arm/pr67989.C (revision 254692) @@ -2,8 +2,9 @@ /* { dg-options "-std=c++11 -O2" } */ /* { dg-require-effective-target arm_arch_v4t_ok } */ /* { dg-add-options arm_arch_v4t } */ -/* { dg-additional-options "-marm" } */ +/* { dg-additional-options "-marm -Wno-return-type" } */ + /* Duplicate version of the test in g++.dg to be able to run this test only if ARMv4t in ARM execution state can be targetted. Newer architecture don't expose the bug this testcase was written for. */