From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26645 invoked by alias); 2 Aug 2017 13:29:42 -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 26100 invoked by uid 89); 2 Aug 2017 13:29:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:1142, HTo:U*aldyh X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Aug 2017 13:29:39 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1dctiT-0007NL-Aq from Tom_deVries@mentor.com ; Wed, 02 Aug 2017 06:29:37 -0700 Received: from [127.0.0.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 2 Aug 2017 14:29:31 +0100 Subject: [testsuite, committed] Use relative line number in gcc.dg/Walloca-14.c To: Aldy Hernandez CC: Jakub Jelinek , Richard Biener , Andrew MacLeod , gcc-patches References: <85de74ae-9680-1461-a289-42c915b5285a@redhat.com> <20170627103822.GS2123@tucnak> <0c48f7c0-6fff-c8f3-5680-e4a0fc3203bf@redhat.com> From: Tom de Vries Message-ID: Date: Wed, 02 Aug 2017 13:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <0c48f7c0-6fff-c8f3-5680-e4a0fc3203bf@redhat.com> Content-Type: multipart/mixed; boundary="------------1FA4C253032805BC1A842BBA" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-SW-Source: 2017-08/txt/msg00180.txt.bz2 --------------1FA4C253032805BC1A842BBA Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 338 [ was: Re: Avoid generating useless range info ] On 06/28/2017 09:56 AM, Aldy Hernandez wrote: > void *q = __builtin_alloca (p); /* { dg-warning "passing argument 1" } */ > + /* { dg-warning "unbounded use of 'alloca'" "unbounded" { target *-*-* } 11 } */ Hi, Please use relative line number next time. Committed. Thanks, - Tom --------------1FA4C253032805BC1A842BBA Content-Type: text/x-patch; name="0001-Use-relative-line-number-in-gcc.dg-Walloca-14.c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-Use-relative-line-number-in-gcc.dg-Walloca-14.c.patch" Content-length: 752 Use relative line number in gcc.dg/Walloca-14.c 2017-08-02 Tom de Vries * gcc.dg/Walloca-14.c: Use relative line number. --- gcc/testsuite/gcc.dg/Walloca-14.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/Walloca-14.c b/gcc/testsuite/gcc.dg/Walloca-14.c index f3e3f57..ea48227 100644 --- a/gcc/testsuite/gcc.dg/Walloca-14.c +++ b/gcc/testsuite/gcc.dg/Walloca-14.c @@ -9,6 +9,6 @@ g (int *p) extern void f (void *); void *q = __builtin_alloca (p); /* { dg-warning "passing argument 1" } */ - /* { dg-warning "unbounded use of 'alloca'" "unbounded" { target *-*-* } 11 } */ + /* { dg-warning "unbounded use of 'alloca'" "unbounded" { target *-*-* } .-1 } */ f (q); } --------------1FA4C253032805BC1A842BBA--