URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [whole_file_19.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-fwhole-file" }! Test the fix for pr40011 comment #42, in which the subroutine! would just get lost with -fwhole-file.!! Contributed by Joost VandeVandole <jv244@cam.ac.uk>!SUBROUTINE c()CALL a()END SUBROUTINE cSUBROUTINE a()END SUBROUTINE aMODULE MCONTAINSSUBROUTINE b()CALL c()END SUBROUTINEEND MODULEUSE MCALL b()END! { dg-final { cleanup-modules "m" } }
