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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr17143.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 "-std=legacy" }
3
!
4
! pr17143
5
! does not print 2*63 correctly
6
       character*25 l
7
       integer(kind=8) i
8
       data i /1/
9
       do j = 1,63
10
          i = i * 2
11
       end do
12
       write(l,*)i
13
       if (l.ne.' -9223372036854775808') then
14
!                ^
15
!         the space is required before a number
16
          call abort
17
       endif
18
       end
19
 

powered by: WebSVN 2.1.0

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