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/] [derived_sub.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! PR35475 gfortran fails to compile valid code with ICE error in fold-const.c! Test case from PR report added to avoid future regressionmodule modonetype mytypereal :: myvarend typeend modulemodule modtwointerfacesubroutine subone(mytype_cur)use modonetype (mytype) mytype_curend subroutineend interfacecontainssubroutine subtwo(mytype_cur)use modonetype (mytype) mytype_cur,mytype_finmytype_fin=mytype_curreturnend subroutinesubroutine subthree(mytype_cur)use modonetype (mytype) mytype_curcall subone(mytype_cur)end subroutineend module! { dg-final { cleanup-modules "modone modtwo" } }
