This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite, committed] Use relative line number in gcc.dg/Walloca-14.c
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Richard Biener <richard dot guenther at gmail dot com>, Andrew MacLeod <amacleod at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 2 Aug 2017 15:29:28 +0200
- Subject: [testsuite, committed] Use relative line number in gcc.dg/Walloca-14.c
- Authentication-results: sourceware.org; auth=none
- References: <85de74ae-9680-1461-a289-42c915b5285a@redhat.com> <CAFiYyc1S5-vVEOMGPQ61E2j9Fh37r8z+emNnDwrHXoY0m_G04g@mail.gmail.com> <CAGm3qMXOYa3Km6FGiji0j2txeZJfyiLTR7V6EDMTDEDQo0RWBA@mail.gmail.com> <CAFiYyc10Qfnjgo9cgeOtPUbiy=vQ7Dx1CRgabVkyV3iAci3VrA@mail.gmail.com> <CAGm3qMXqK-s5E4fYBp01Jm-yfEs_0HzdNrVgSi1J+s71Pendzg@mail.gmail.com> <20170627103822.GS2123@tucnak> <0c48f7c0-6fff-c8f3-5680-e4a0fc3203bf@redhat.com>
[ 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
Use relative line number in gcc.dg/Walloca-14.c
2017-08-02 Tom de Vries <tom@codesourcery.com>
* 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);
}