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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 696 jeremybenn
-- { dg-do run }
2
-- { dg-options "-O" }
3
 
4
with Loop_Optimization3_Pkg; use Loop_Optimization3_Pkg;
5
 
6
procedure Loop_Optimization3 is
7
 
8
  type Arr is array (Integer range -3 .. 3) of Integer;
9
  C : constant Arr := (1, others => F(2));
10
 
11
begin
12
  if C /= (1, 2, 2, 2, 2, 2, 2) then
13
    raise Program_Error;
14
  end if;
15
end;

powered by: WebSVN 2.1.0

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