This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, committed] Add testcase for PR 36934


On Fri, 2008-07-25 at 18:53 +0200, Thomas Koenig wrote:

> this looks like a regression introduced by the recent patch
> for PR 33141:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36934

The issue has been resolved (it was caused by an incorrect patch in a
binary build, trunk was never affected; see the PR for details).  Test
case added to make sure we don't regress.

	Thomas

2008-07-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/36934
        * gfortran.dg/allocatable_module_1.f90:  New test case.


! { dg-do compile }
! PR 36934 - this used to give a spurious error and segfault with a
! patch that wasn't complete
! Test case contributed by Philip Mason

module fred1
real, allocatable :: default_clocks(:)
end module fred1

module fred2
real, allocatable :: locks(:)
end module fred2

program fred
use fred1
use fred2
end program fred
! { dg-final { cleanup-modules "fred1 fred2" } }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]