From 13e6ec34a8487d383174d67bd87a1227d41a8e9b Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Mon, 10 Apr 2017 17:26:17 -0600 Subject: [PATCH] Adjust dg-bogus pattern to match the text of the changed diagnostic. gcc/testsuite: * gcc.dg/pr40340-3.c: Adjust directive pattern. * gcc.dg/pr40340-4.c: Same. From-SVN: r246827 --- gcc/testsuite/ChangeLog | 7 ++++++- gcc/testsuite/gcc.dg/pr40340-3.c | 2 +- gcc/testsuite/gcc.dg/pr40340-4.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 21043924beb..8da9f094801 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,11 @@ +2017-04-10 Martin Sebor + + * gcc.dg/pr40340-3.c: Adjust directive pattern. + * gcc.dg/pr40340-4.c: Same. + 2017-04-10 Nicolas Koenig - PR fortran/69498 + PR fortran/69498 * gfortran.dg/submodule_unexp.f90: Modified test to account for new error. * gfortran.dg/submodule_twice.f90: New Test diff --git a/gcc/testsuite/gcc.dg/pr40340-3.c b/gcc/testsuite/gcc.dg/pr40340-3.c index 5ef09e073d8..f771a00e3a0 100644 --- a/gcc/testsuite/gcc.dg/pr40340-3.c +++ b/gcc/testsuite/gcc.dg/pr40340-3.c @@ -12,4 +12,4 @@ main (void) return 0; } -/* { dg-bogus "will always overflow destination buffer" "" { target *-*-* } 10 } */ +/* { dg-bogus "overflow" "" { target *-*-* } 10 } */ diff --git a/gcc/testsuite/gcc.dg/pr40340-4.c b/gcc/testsuite/gcc.dg/pr40340-4.c index d3f020cada8..695d0acbee0 100644 --- a/gcc/testsuite/gcc.dg/pr40340-4.c +++ b/gcc/testsuite/gcc.dg/pr40340-4.c @@ -13,4 +13,4 @@ main (void) return 0; } -/* { dg-bogus "will always overflow destination buffer" "" { target *-*-* } 10 } */ +/* { dg-bogus "overflow" "" { target *-*-* } 10 } */ -- 2.30.2