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
This commit is contained in:
Martin Sebor 2017-04-10 17:26:17 -06:00
parent a2cb1196cf
commit 13e6ec34a8
3 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,11 @@
2017-04-10 Martin Sebor <msebor@redhat.com>
* gcc.dg/pr40340-3.c: Adjust directive pattern.
* gcc.dg/pr40340-4.c: Same.
2017-04-10 Nicolas Koenig <koenigni@student.ethz.ch> 2017-04-10 Nicolas Koenig <koenigni@student.ethz.ch>
PR fortran/69498 PR fortran/69498
* gfortran.dg/submodule_unexp.f90: Modified test * gfortran.dg/submodule_unexp.f90: Modified test
to account for new error. to account for new error.
* gfortran.dg/submodule_twice.f90: New Test * gfortran.dg/submodule_twice.f90: New Test

View File

@ -12,4 +12,4 @@ main (void)
return 0; return 0;
} }
/* { dg-bogus "will always overflow destination buffer" "" { target *-*-* } 10 } */ /* { dg-bogus "overflow" "" { target *-*-* } 10 } */

View File

@ -13,4 +13,4 @@ main (void)
return 0; return 0;
} }
/* { dg-bogus "will always overflow destination buffer" "" { target *-*-* } 10 } */ /* { dg-bogus "overflow" "" { target *-*-* } 10 } */