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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [volatile2.adb] - Blame information for rev 801

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do compile }
2
-- { dg-options "-gnatws" }
3
 
4
package body volatile2 is
5
 
6
  procedure Copy is
7
    R : Result;
8
    M : Integer;
9
    subtype Get_Data is Command_Data (Get, R.Data'Last);
10
  begin
11
    declare
12
      G : Get_Data;
13
      for G'Address use M'Address;
14
    begin
15
      for I in 1 .. R.Data'Last loop
16
        G.Data (I) := (Time => R.Data (I).Time);
17
      end loop;
18
    end;
19
  end;
20
 
21
end volatile2;
22
 

powered by: WebSVN 2.1.0

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