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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 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.