From de8da6f94f8a90548bea7aa56faf57706dd8652f Mon Sep 17 00:00:00 2001 From: billingd Date: Fri, 9 Jul 2004 14:34:12 +0000 Subject: [PATCH] 2004-07-10 David Billinghurst (David.Billinghurst@riotinto.com) * lib/gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran warning/error messages * gfortran.dg/g77/12632.f: Copy from g77.dg and fix dg-error text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84372 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gfortran.dg/g77/12632.f | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/g77/12632.f diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index babc556..035b99c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-07-10 David Billinghurst (David.Billinghurst@riotinto.com) + + * lib/gfortran-dg.exp (gfortran-dg-test): Adapt regular + expression to match gfortran warning/error messages + * gfortran.dg/g77/12632.f: Copy from g77.dg and fix + dg-error text. + 2004-07-09 David Billinghurst (David.Billinghurst@riotinto.com) * lib/fortran-torture.exp: Rename proc search_for to diff --git a/gcc/testsuite/gfortran.dg/g77/12632.f b/gcc/testsuite/gfortran.dg/g77/12632.f new file mode 100644 index 0000000..91121c8 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/g77/12632.f @@ -0,0 +1,6 @@ +C { dg-do compile } +C { dg-options "-fbounds-check" } + INTEGER I(1) + I(2) = 0 ! { dg-error "out of bounds" "out of bounds" } + END + -- 2.7.4