[PATCH][Ada] Fix tasking on sparc64-linux (122 ACATS FAIL => 1 FAIL)

Laurent GUERBY laurent@guerby.net
Thu Nov 19 18:09:00 GMT 2009


On Thu, 2009-11-19 at 18:23 +0100, Arnaud Charlet wrote:
> If there's a real need/urgency, then my recommendation would be to work on the
> SOSC approach, which is a good approach in any case for other targets as well.

Ok for SOSC for 4.5 then, what is the patch scheme you have in mind?
There are 21 files depending on tv_usec (outside socket stuff):

s-osinte-aix.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-aix.adb:           tv_usec => long (Long_Long_Integer (F * 10#1#E6)));
s-osinte-aix.ads:      tv_usec : long;
s-osinte-darwin.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-darwin.adb:                tv_usec => int32_t (Long_Long_Integer (F * 10#1#E6)));
s-osinte-darwin.ads:      tv_usec : int32_t;
s-osinte-hpux-dce.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-hpux-dce.adb:           tv_usec => time_t (Long_Long_Integer (F * 10#1#E6)));
s-osinte-hpux-dce.ads:      tv_usec : time_t;
s-osinte-hpux.ads:      tv_usec : time_t;
s-osinte-irix.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-irix.adb:           tv_usec => time_t (Long_Long_Integer (F * 10#1#E6)));
s-osinte-irix.ads:      tv_usec : time_t;
s-osinte-kfreebsd-gnu.ads:      tv_usec : time_t;
s-osinte-linux.ads:      tv_usec : int;
s-osinte-posix.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-posix.adb:           tv_usec => int (Long_Long_Integer (F * 10#1#E6)));
s-osinte-rtems.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-rtems.adb:           tv_usec => int (Long_Long_Integer (F * 10#1#E6)));
s-osinte-rtems.ads:      tv_usec : int;
s-osinte-solaris-posix.ads:      tv_usec : time_t;
s-osinte-solaris.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osinte-solaris.adb:           tv_usec => long (Long_Long_Integer (F * 10#1#E6)));
s-osinte-solaris.ads:      tv_usec : long;
s-osprim-darwin.adb:      tv_usec      : Integer;
s-osprim-darwin.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osprim-posix.adb:      tv_usec      : Integer;
s-osprim-posix.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osprim-solaris.adb:      tv_usec : Long_Integer;
s-osprim-solaris.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osprim-solaris.adb:            timeval.tv_usec :=
s-osprim-unix.adb:      tv_usec : Integer;
s-osprim-unix.adb:      return Duration (TV.tv_sec) + Duration (TV.tv_usec) / 10#1#E6;
s-osprim-unix.adb:            timeval.tv_usec :=

Thanks in advance,

Laurent





More information about the Gcc-patches mailing list