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.

From-SVN: r250828
This commit is contained in:
Tom de Vries 2017-08-02 13:19:30 +00:00 committed by Tom de Vries
parent 9501fd4b59
commit 8699462191
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-08-02 Tom de Vries <tom@codesourcery.com>
* gcc.dg/Walloca-14.c: Use relative line number.
2017-08-02 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/funcspec-56.inc (no_3dnowa): Properly

View File

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