This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
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
Fixed by; http://gcc.gnu.org/ml/fortran/2006-02/msg00251.html http://gcc.gnu.org/ml/gcc-cvs/2006-02/msg00508.html
*** Bug 26285 has been marked as a duplicate of this bug. ***
*** Bug 26286 has been marked as a duplicate of this bug. ***
*** Bug 26287 has been marked as a duplicate of this bug. ***
*** Bug 26288 has been marked as a duplicate of this bug. ***
*** Bug 26289 has been marked as a duplicate of this bug. ***