From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109565 invoked by alias); 20 Aug 2015 13:45:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 109555 invoked by uid 89); 20 Aug 2015 13:45:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mx07-00178001.pphosted.com Received: from mx07-00178001.pphosted.com (HELO mx07-00178001.pphosted.com) (62.209.51.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 20 Aug 2015 13:45:16 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by m0046037.ppops.net (8.14.5/8.14.5) with SMTP id t7KDfc5T003099; Thu, 20 Aug 2015 15:45:10 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by m0046037.ppops.net with ESMTP id 1wcafxsam7-1 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 20 Aug 2015 15:45:10 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7087F31; Thu, 20 Aug 2015 13:45:01 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas6.st.com [10.75.90.73]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 04CF5AC88; Thu, 20 Aug 2015 13:45:09 +0000 (GMT) Received: from [164.129.122.197] (164.129.122.197) by webmail-eu.st.com (10.75.90.13) with Microsoft SMTP Server (TLS) id 8.3.389.2; Thu, 20 Aug 2015 15:45:08 +0200 Message-ID: <55D5D9E4.2050806@st.com> Date: Thu, 20 Aug 2015 13:49:00 -0000 From: Christian Bruel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: , , , Subject: [PATCH testsuite, ARM] skip Wno-frame-address tests X-No-Archive: yes Content-Type: multipart/mixed; boundary="------------070707080407030405080700" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-20_07:2015-08-20,2015-08-20,1970-01-01 signatures=0 X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg01203.txt.bz2 --------------070707080407030405080700 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 517 Hello, 2 tests from rev 226480 introduced a new failure for ARM testing -Werror because a warning is always emitted regardless -Wframe-address is given or not. From expand_builtin_frame_address: /* Some ports cannot access arbitrary stack frames. */ if (tem == NULL) { warning (0, "unsupported argument to %qD", fndecl); return const0_rtx; } This patch just skips the test on ARM that can't access arbitrary stack frame anyway and will always warn. OK for trunk ? thanks, Christian --------------070707080407030405080700 Content-Type: text/x-patch; name="no-frame-address.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="no-frame-address.patch" Content-length: 1082 015-08-20 Christian Bruel * gcc.dg/Wno-frame-address.c: Skip for ARM. * g++.dg/Wno-frame-address.C: Ditto. Index: gcc/testsuite/gcc.dg/Wno-frame-address.c =================================================================== --- gcc/testsuite/gcc.dg/Wno-frame-address.c (revision 227030) +++ gcc/testsuite/gcc.dg/Wno-frame-address.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "Cannot access arbitrary stack frames. " { arm*-*-* } { "*" } { "" } } */ /* { dg-options "-Werror" } */ /* Verify that -Wframe-address is not enabled by default by enabling Index: gcc/testsuite/g++.dg/Wno-frame-address.C =================================================================== --- gcc/testsuite/g++.dg/Wno-frame-address.C (revision 227030) +++ gcc/testsuite/g++.dg/Wno-frame-address.C (working copy) @@ -1,4 +1,5 @@ // { dg-do compile } +/* { dg-skip-if "Cannot access arbitrary stack frames. " { arm*-*-* } { "*" } { "" } } */ // { dg-options "-Werror" } // Verify that -Wframe-address is not enabled by default by enabling --------------070707080407030405080700--