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/] [malloc_free_1.f90] - Blame information for rev 317

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

Line No. Rev Author Line
1 302 jeremybenn
! Test for the MALLOC and FREE intrinsics
2
! If something is wrong with them, this test might segfault
3
! { dg-do run }
4
  integer j
5
  integer(kind=8) i8
6
 
7
  do j = 1, 10000
8
    i8 = malloc (10 * j)
9
    call free (i8)
10
  end do
11
  end

powered by: WebSVN 2.1.0

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