Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/whole_file_32.f90 @ 128:fe568345ddd5
fix CbC-example
author | mir3636 |
---|---|
date | Wed, 11 Apr 2018 19:32:28 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-O -finline-small-functions" } ! Tests the fix for PR45743 in which the compilation failed with an ICE ! internal compiler error: verify_stmts failed. The source is the essential ! part of whole_file_3.f90. ! ! Contributed by Zdenek Sojka <zsojka@seznam.cz> ! SUBROUTINE PHLOAD (READER,*) IMPLICIT NONE EXTERNAL READER CALL READER (*1) 1 RETURN 1 END SUBROUTINE program test EXTERNAL R CALL PHLOAD (R, *999) ! This one is OK 999 continue END program test