2 ! Regression. ICE on valid code.
3 ! The following worked with 4.1.3 and 4.2.2, but failed
4 ! (segmentation fault) with 4.3.0 because the type comparison
5 ! tried to comparethe types of the components of type(node), even
6 ! though the only component is of type(node).
8 ! Found using the Fortran Company Fortran 90 Test Suite (Lite),
11 ! Reported by Tobias Burnus <burnus@gcc.gnu.org>
17 type(node
), pointer :: next
19 type(node
), pointer :: list
22 subroutine insert(ptr
)
26 type(node
), pointer :: next
28 type(node
), pointer :: ptr