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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [no_range_check_2.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! { dg-options "-fno-range-check" }
3
! PR36515 Integer read a value overflow for an invalid integer.
4
! This tests that -fno-range-check allows this legacy behavior at runtime.
5
program int_range
6
character(25) :: inputline = "-2147483648"
7
integer*4 smallest
8
read(inputline,100) smallest
9
100 format(1i11)
10
if (smallest.ne.-2147483648) call abort
11
end

powered by: WebSVN 2.1.0

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