OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [character_comparison_8.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { 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)) call abort
8
  if (LLT(a,a)) call abort
9
  if (.not. LGE(a,a)) call abort
10
  if (LGT(a,a)) call abort
11
end program main
12
! { dg-final { scan-tree-dump-times "gfortran_compare_string" 0 "original" } }
13
! { dg-final { cleanup-tree-dump "original" } }
14
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.