2 ! { dg-options "-fdump-tree-original" }
3 ! PR 34145 - the length of the string should be simplified to one,
4 ! no library call for string comparison is necessary.
11 if (c(i
:i
) /= 'a') call abort ()
12 if (c(i
+1:i
+1) /= 'b') call abort ()
14 ! { dg-final { scan-tree-dump-times "gfortran_compare_string" 0 "original" } }
15 ! { dg-final { cleanup-tree-dump "original" } }