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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [graphite/] [pr36286.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 compile }
2
! { dg-options "-O1 -ftree-loop-linear" }
3
! PR tree-optimization/36286
4
 
5
program test_count
6
    integer, dimension(2,3) :: a, b
7
    a = reshape( (/ 1, 3, 5, 2, 4, 6 /), (/ 2, 3 /))
8
    b = reshape( (/ 0, 3, 5, 7, 4, 8 /), (/ 2, 3 /))
9
    print '(3l6)', a.ne.b
10
    print *, a(1,:).ne.b(1,:)
11
    print *, a(2,:).ne.b(2,:)
12
    print *, count(a.ne.b)
13
end program test_count
14
 

powered by: WebSVN 2.1.0

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