* gfortran.dg/pr15324.f90: Make array bounds consistent.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sat, 25 Sep 2004 12:50:02 +0000 (14:50 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sat, 25 Sep 2004 12:50:02 +0000 (14:50 +0200)
From-SVN: r88096

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr15324.f90

index aa50efc10c0bd9e6bd6d7c1cb6a018483e8e2169..b2db1410711ce9b3b341ddbed796e3350c690faf 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-25  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * gfortran.dg/pr15324.f90: Make array bounds consistent.
+
 2004-09-25  Jan Hubicka  <jh@suse.cz>
 
        * compile/30040909-1.c: New test.
index ce534633146b01999c77c861db7fcf2707a9fa12..d918717e7482d4ac03ca6bfac9b01df9f440d6cd 100644 (file)
@@ -4,7 +4,7 @@
 program strarray_6
 character(5), dimension(:), allocatable :: c
 n = 3
-allocate(c(-1:n-1))
+allocate(c(-1:n-2))
 c = "BLUBB"
 call foo(c)
 call bar(c,n)