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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [array7.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 compile }
2
-- { dg-options "-O -gnatp -fdump-tree-optimized" }
3
 
4
package body Array7 is
5
 
6
   package body Range_Subtype is
7
      function Get_Arr (Nbr : My_Range) return Arr_Acc is
8
      begin
9
         return new Arr (1 .. Nbr);
10
      end;
11
   end;
12
 
13
   package body Range_Type is
14
      function Get_Arr (Nbr : My_Range) return Arr_Acc is
15
      begin
16
         return new Arr (1 .. Nbr);
17
      end;
18
   end;
19
 
20
end Array7;
21
 
22
-- { dg-final { scan-tree-dump-not "MAX_EXPR" "optimized" } }
23
-- { dg-final { cleanup-tree-dump "optimized" } }

powered by: WebSVN 2.1.0

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