This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] AI 386


Tested on i686-linux. Committed on mainline.

These additional functions Seconds and Minutes in Ada.Real_Time are
required by Ada 2005 AI-386. Full details and discussion of this are in:
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00386.TXT?rev=1.3.
A simple test program which should compile and run silently with -gnat05.

with Ada.Real_Time; use Ada.Real_Time;
procedure K is
begin
   if Seconds (2) /= Milliseconds (2000) then raise Program_Error; end if;
   if Minutes (3) /= Milliseconds (3 * 60 * 1000) then
      raise Program_Error;
   end if;
end K;

2005-03-08  Robert Dewar  <dewar@adacore.com>

	* a-reatim.ads, a-reatim.adb: Add functions Minutes and Seconds for
	AI-386.

	* a-retide.ads: Minor comment changes

Attachment: difs.7
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]