OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gnat.dg/] [array11.adb] - Diff between revs 304 and 338

Only display areas with differences | Details | Blame | View Log

Rev 304 Rev 338
-- { dg-do compile }
-- { dg-do compile }
 
 
procedure Array11 is
procedure Array11 is
 
 
  type Rec is null record;
  type Rec is null record;
  type Ptr is access all Rec;
  type Ptr is access all Rec;
 
 
  type Arr1 is array (1..8) of aliased Rec; -- { dg-warning "padded" }
  type Arr1 is array (1..8) of aliased Rec; -- { dg-warning "padded" }
  type Arr2 is array (Long_Integer) of aliased Rec; -- { dg-warning "padded" }
  type Arr2 is array (Long_Integer) of aliased Rec; -- { dg-warning "padded" }
 
 
  A1 : Arr1;
  A1 : Arr1;
  A2 : Arr2; -- { dg-warning "Storage_Error will be raised" }
  A2 : Arr2; -- { dg-warning "Storage_Error will be raised" }
 
 
begin
begin
  null;
  null;
end;
end;
 
 

powered by: WebSVN 2.1.0

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