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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [reassoc_6.f] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-O2 -fdump-tree-optimized" }
3
 
4
        subroutine test(nb,nx,r2)
5
        implicit none
6
        integer nb,nx,i,l
7
        real*8 r2(nb,nx)
8
 
9
 
10
             do i=1,nx
11
                do l=1,nb
12
                   r2(l,i)=0.0d0
13
                enddo
14
             enddo
15
 
16
        return
17
        end
18
! Verify that offset of the first element is simplified
19
! While we understand to combine x + ~x IVOPTs now messes things
20
! up by hiding that operation in casts to unsigned.
21
! { dg-final { scan-tree-dump-not "~" "optimized" { xfail *-*-* } } }
22
! { dg-final { cleanup-tree-dump "optimized" } }

powered by: WebSVN 2.1.0

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