re PR fortran/36934 (Spurious "ambiguous reference to...ERROR"/ICE)
2008-07-26 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/36934 * gfortran.dg/allocatable_module_1.f90: New test case. From-SVN: r138167
This commit is contained in:
parent
c37f4ba497
commit
19f0452d2b
2 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-07-26 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/36934
|
||||
* gfortran.dg/allocatable_module_1.f90: New test case.
|
||||
|
||||
2008-07-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/36936
|
||||
|
|
18
gcc/testsuite/gfortran.dg/allocatable_module_1.f90
Normal file
18
gcc/testsuite/gfortran.dg/allocatable_module_1.f90
Normal file
|
@ -0,0 +1,18 @@
|
|||
! { 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" } }
|
Loading…
Add table
Reference in a new issue