diff mbox

[testsuite,committed] Use relative line number in gcc.dg/Walloca-14.c

Message ID aa8a659f-b201-5c42-1fe0-01947b21839a@mentor.com
State New
Headers show

Commit Message

Tom de Vries Aug. 2, 2017, 1:29 p.m. UTC
[ 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
diff mbox

Patch

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);
 }