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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [memtrap.adb] - Rev 696

Compare with Previous | Blame | View Log

-- { dg-do compile }
-- { dg-options "-O2" }
 
with System;
 
procedure Memtrap is
  X : integer;
  for X'address use System.Null_Address;
begin
  X := 12;
exception
   when others => null;
end;
 
-- { dg-final { scan-assembler "__gnat_begin_handler|__gnat_raise_nodefer" } }
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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