gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran warnin...
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Fri, 9 Jul 2004 14:34:12 +0000 (14:34 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Fri, 9 Jul 2004 14:34:12 +0000 (14:34 +0000)
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.

From-SVN: r84372

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/g77/12632.f [new file with mode: 0644]

index babc5567881cf464bdab328f777eca9d64f0c416..035b99c97d71a6ac9b49ce15bee2812aaaa8be03 100644 (file)
@@ -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 (file)
index 0000000..91121c8
--- /dev/null
@@ -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
+