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

Subversion Repositories openrisc

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

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 "-fdump-tree-optimized -O3" }
3
!
4
! PR fortran/45742
5
!
6
 
7
subroutine sub(arg)
8
  integer, volatile :: arg
9
  if (arg /= arg) call I_dont_exist()
10
end
11
 
12
! { dg-final { scan-tree-dump "integer.kind=.. . volatile arg" "optimized" } }
13
! { dg-final { scan-tree-dump-times " =.v. arg;" 2 "optimized" } }
14
! { dg-final { scan-tree-dump "i_dont_exist" "optimized" } }
15
! { dg-final { cleanup-tree-dump "optimized" } }
16
 

powered by: WebSVN 2.1.0

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