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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

-- { dg-do compile }
-- { dg-options "-O -gnatp -fdump-tree-optimized" }
 
package body Array7 is
 
   package body Range_Subtype is
      function Get_Arr (Nbr : My_Range) return Arr_Acc is
      begin
         return new Arr (1 .. Nbr);
      end;
   end;
 
   package body Range_Type is
      function Get_Arr (Nbr : My_Range) return Arr_Acc is
      begin
         return new Arr (1 .. Nbr);
      end;
   end;
 
end Array7;
 
-- { dg-final { scan-tree-dump-not "MAX_EXPR" "optimized" } }
-- { dg-final { cleanup-tree-dump "optimized" } }
 

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.