------- Comment #8 from tkoenig at gcc dot gnu dot org 2009-12-20 20:10 ------- We fail to catch the invalid code
$ cat whole.f90 program main real, dimension(2) :: a call foo(a) end program main subroutine foo(a) real, dimension(:) :: a end subroutine foo $ gfortran -fwhole-file -O3 whole.f90 $ -- tkoenig at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu dot | |org OtherBugsDependingO| |40011 nThis| | Severity|normal |enhancement Known to fail|4.3.0 4.2.0 |4.3.0 4.2.0 4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31346