From ca337b3ce3871b9b11991785bcb7d989844ebe0f Mon Sep 17 00:00:00 2001 From: vries Date: Wed, 2 Aug 2017 13:19:30 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250828 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/Walloca-14.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 75a83b9f78a3..c28019bf33a0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-08-02 Tom de Vries + + * gcc.dg/Walloca-14.c: Use relative line number. + 2017-08-02 Uros Bizjak * gcc.target/i386/funcspec-56.inc (no_3dnowa): Properly diff --git a/gcc/testsuite/gcc.dg/Walloca-14.c b/gcc/testsuite/gcc.dg/Walloca-14.c index f3e3f5794393..ea48227f7e82 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); } -- 2.47.2