Debian Codegraph @

gcc/testsuite/gfortran.dg/assumed_charlen_substring_1.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-O -fdump-tree-original" }
3 ! PR 51338 - this used to ICE.
4 ! Original test case by Bud Davis.
5 subroutine foo(a,b)
6 character(len=*) :: a
7 if (a(1:) /= a(1:)) call do_not_use
8 end subroutine foo
9 ! { dg-final { scan-tree-dump-times "do_not_use" 0 "original" } }