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

Subversion Repositories openrisc

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

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 "-O2" }
3
 
4
with System;
5
 
6
procedure Memtrap is
7
  X : integer;
8
  for X'address use System.Null_Address;
9
begin
10
  X := 12;
11
exception
12
   when others => null;
13
end;
14
 
15
-- { dg-final { scan-assembler "__gnat_begin_handler|__gnat_raise_nodefer" } }

powered by: WebSVN 2.1.0

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