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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr45636.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/45636
2
! { dg-do compile }
3
! { dg-options "-O2 -fdump-tree-forwprop2" }
4
! PR 45636 - make sure no memset is needed for a short right-hand side.
5
program main
6
  character(len=2), parameter :: x='a '
7
  character(len=1), parameter :: y='b'
8
  character(len=4) :: a, b
9
  a = x
10
  b = y
11
  call sub(a, b)
12
end program main
13
! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" { xfail { mips*-*-* && { ! nomips16 } } } } }
14
! { dg-final { cleanup-tree-dump "forwprop2" } }

powered by: WebSVN 2.1.0

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