I did succeed at get tasking working on Red Hat 9 x86 and NTPL
using the ACT tree (HEAD + gcc-head as of 23Apr2003 around 20:00 GMT)
and GCC mainline. The resulting compiler gets much better results than
3.2 and results in line with the ACT 5.00 release
except for a miscompilation of a-calend.adb that gives 17 failures.
For the record here is a reduced test case:
with Ada.Calendar;
procedure P1 is
Some_Time : Ada.Calendar.Time;
begin
Some_Time := Ada.Calendar.Time_Of (Month => 9, Day => 16, Year =>
1993);
end P1;
$ gnatmake p1
$ ./p1
raised CONSTRAINT_ERROR : a-calend.adb:418 explicit raise
$
The code failing in Ada.Calendar is:
if not Year 'Valid
or else not Month 'Valid
or else not Day 'Valid
or else not Seconds'Valid
then
raise Constraint_Error;
end if;