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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [any_all_2.f90] - Blame information for rev 816

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! PR 34838 - this failed with "Can't convert LOGICAL(1) to LOGICAL(1)
3
! Test case contributed by Manfred Schwab.
4
program main
5
  Logical(kind=1) :: bmp(1),bmpv(1)
6
 
7
  bmp(1)=.false.
8
  bmpv(1)=.true.
9
 
10
  if ( ANY(bmp(1:1) .NEQV. bmpv(1:1)) ) then
11
     print*,"hello"
12
  end if
13
 
14
  if ( ALL(bmp(1:1) .NEQV. bmpv(1:1)) ) then
15
     print*,"hello"
16
  end if
17
 
18
end program main

powered by: WebSVN 2.1.0

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