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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [loop_optimization4_pkg.adb] - Blame information for rev 315

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

Line No. Rev Author Line
1 304 jeremybenn
package body Loop_Optimization4_Pkg is
2
 
3
   procedure Add (Phrase : String) is
4
   begin
5
      if Debug_Buffer_Len = Max_Debug_Buffer_Len then
6
         return;
7
      end if;
8
      for I in Phrase'Range loop
9
         Debug_Buffer_Len := Debug_Buffer_Len + 1;
10
         Debug_Buffer (Debug_Buffer_Len) := Phrase (I);
11
         if Debug_Buffer_Len = Max_Debug_Buffer_Len then
12
            exit;
13
         end if;
14
      end loop;
15
   end Add;
16
 
17
end Loop_Optimization4_Pkg;

powered by: WebSVN 2.1.0

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