PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / character_comparison_8.f90
blob2cc1a3057bd9f52f8392eff82d68cc991ffea206
1 ! { dg-do run }
2 ! { dg-options "-O -fdump-tree-original" }
3 ! Check for compile-time optimization of LLE and friends.
4 program main
5 character(3) :: a
6 a = 'ab'
7 if (.not. LLE(a,a)) STOP 1
8 if (LLT(a,a)) STOP 2
9 if (.not. LGE(a,a)) STOP 3
10 if (LGT(a,a)) STOP 4
11 end program main
12 ! { dg-final { scan-tree-dump-times "gfortran_compare_string" 0 "original" } }