URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { dg-do run }
|
! { dg-do run }
|
! { dg-options "-std=gnu" }
|
! { dg-options "-std=gnu" }
|
! { dg-require-effective-target fortran_integer_16 }
|
! { dg-require-effective-target fortran_integer_16 }
|
!
|
!
|
! Note: int_fast128_t currently not supported.
|
! Note: int_fast128_t currently not supported.
|
|
|
program c_kind_int128
|
program c_kind_int128
|
use, intrinsic :: iso_c_binding
|
use, intrinsic :: iso_c_binding
|
integer(c_int128_t) :: a
|
integer(c_int128_t) :: a
|
integer(c_int_least128_t) :: b
|
integer(c_int_least128_t) :: b
|
! integer(c_int_fast128_t) :: c
|
! integer(c_int_fast128_t) :: c
|
|
|
if (sizeof (a) /= 16) call abort
|
if (sizeof (a) /= 16) call abort
|
if (sizeof (b) /= 16) call abort
|
if (sizeof (b) /= 16) call abort
|
! if (sizeof (c) /= 16) call abort
|
! if (sizeof (c) /= 16) call abort
|
end program c_kind_int128
|
end program c_kind_int128
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.