[Bug fortran/26284] New: FAIL: gfortran.dg/bad_automatic_objects_1.f90 -O

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 14 14:41:00 GMT 2006


Executing on host: /test/gnu/gcc-4.1/objdir/gcc/testsuite/../gfortran
-B/test/gn
u/gcc-4.1/objdir/gcc/testsuite/../
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.
dg/bad_automatic_objects_1.f90   -O   -pedantic-errors -S  -o
bad_automatic_obje
cts_1.s    (timeout = 300)
 In file
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.dg/bad_automatic_objects_1
.f90:13

  integer, dimension (i) :: j ! { dg-error "must have constant shape" }
                            1
Error: Module array 'j' at (1) cannot be automatic or assumed shape
compiler exited with status 1
output is:
 In file
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.dg/bad_automatic_objects_1
.f90:13

  integer, dimension (i) :: j ! { dg-error "must have constant shape" }
                            1
Error: Module array 'j' at (1) cannot be automatic or assumed shape

FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 13)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 14)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 18)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O   (test for errors, line 19)
FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O  (test for excess errors)
Excess errors:
/test/gnu/gcc-4.1/gcc/gcc/testsuite/gfortran.dg/bad_automatic_objects_1.f90:13:
Error: Module array 'j' at (1) cannot be automatic or assumed shape


-- 
           Summary: FAIL: gfortran.dg/bad_automatic_objects_1.f90  -O
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26284



More information about the Gcc-bugs mailing list