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]

Re: [PATCH] PR ada/54040: [x32] Incorrect timeval and timespec


> This is what I got.  I added s-posix-time.ads which declares
> System.OS_Time.time_t.  I use it instead long for time_t.  I
> didn't add time_t to s-linux.ads since it isn't used by
> s-osprim-posix.adb.

Adding s-posix-time.ads isn't desirable, too intrusive.
Better to use time_t (only) from system.linux in s-osinte, and provide
an alternate s-osprim-x32.adb

> It passes all tests with -m32, -mx32 and -m64 on Linux/x86-64
> I don't know if I do it right.  If it isn't right, please tell me exactly
> how to fix it since I don't know Ada.

Unfortunately I can't give you a training about Ada by email, so there's
a limit on advices I can give.

Arno


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