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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! PR 36886 - misalignment of characters for cshift could cause
3
! problems on some architectures.
4
program main
5
  character(len=2) :: c2
6
  character(len=4), dimension(2,2) :: a, b, c, d
7
  ! Force misalignment of a or b
8
  common /foo/ a, c, c2, b, d
9
  a = 'aa'
10
  b = 'bb'
11
  d = cshift(b,1)
12
  c = cshift(a,1)
13
end program main

powered by: WebSVN 2.1.0

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