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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! PR fortran/26246
2
! { dg-options "-fdump-tree-original" }
3
! { dg-do compile }
4
 
5
module pr26246_1
6
  implicit none
7
  contains
8
    function foo(string)
9
    character(*), intent(in) :: string
10
    character(len=len(string)+2) :: foo
11
    if (index(trim(string), '"').ne.0) then
12
      foo = "'" // trim(string) // "'"
13
    end if
14
  end function foo
15
end module pr26246_1
16
 
17
! { dg-final { scan-tree-dump-times "static int" 0 "original" } }
18
! { dg-final { cleanup-tree-dump "original" } }
19
! { dg-final { cleanup-modules "pr26246_1" } }

powered by: WebSVN 2.1.0

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