OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [pr39666-2.f90] - Blame information for rev 315

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

Line No. Rev Author Line
1 302 jeremybenn
! PR middle-end/39666
2
! { dg-do compile }
3
! { dg-options "-O2 -Wuninitialized" }
4
 
5
FUNCTION f(n)   ! { dg-warning "may be used uninitialized" }
6
  INTEGER, INTENT(in) :: n
7
  REAL                :: f
8
 
9
  SELECT CASE (n)
10
    CASE (:-1); f = -1.0
11
    CASE (0);   f =  0.0
12
    CASE (2:);  f =  1.0
13
  END SELECT
14
END FUNCTION

powered by: WebSVN 2.1.0

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