Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/select_type_30.f03 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 54881: [4.8 Regression] [OOP] ICE in fold_convert_loc, at fold-const.c:2016 ! ! Contributed by Richard L Lozes <richard@lozestech.com> implicit none type treeNode end type class(treeNode), pointer :: theNode logical :: lstatus select type( theNode ) type is (treeNode) call DestroyNode (theNode, lstatus ) class is (treeNode) call DestroyNode (theNode, lstatus ) end select contains subroutine DestroyNode( theNode, lstatus ) type(treeNode), pointer :: theNode logical, intent(out) :: lstatus end subroutine end