This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch, committed] Add testcase for PR 36934
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: fortran at gcc dot gnu dot org
- Cc: d at domob dot eu, gcc-patches at gcc dot gnu dot org
- Date: Sat, 26 Jul 2008 12:35:45 +0200
- Subject: [patch, committed] Add testcase for PR 36934
- References: <1217004816.2709.3.camel@meiner.onlinehome.de>
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" } }