re PR ada/54040 ([x32] Incorrect timeval and timespec)
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 29 Nov 2013 16:19:36 +0000 (16:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 29 Nov 2013 16:19:36 +0000 (16:19 +0000)
PR ada/54040
PR ada/59346
* s-osinte-hpux.ads (timespec): Change type of tv_nsec field to time_t.
* s-osinte-kfreebsd-gnu.ads (timespec): Likewise.
* s-osinte-solaris-posix.ads (timespec): Likewise.

From-SVN: r205532

gcc/ada/ChangeLog
gcc/ada/s-osinte-hpux.ads
gcc/ada/s-osinte-kfreebsd-gnu.ads
gcc/ada/s-osinte-solaris-posix.ads

index 8bb3462bc5a51aadf7c1b9b5997308c0b4e08098..f1f73169933d6fa6529fa29f4cfea529be98fff9 100644 (file)
@@ -1,3 +1,11 @@
+2013-11-29  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/54040
+       PR ada/59346
+       * s-osinte-hpux.ads (timespec): Change type of tv_nsec field to time_t.
+       * s-osinte-kfreebsd-gnu.ads (timespec): Likewise.
+       * s-osinte-solaris-posix.ads (timespec): Likewise.
+
 2013-11-23  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/trans.c (Loop_Statement_to_gnu): Set TREE_SIDE_EFFECTS
index b916b8db94014cc5a5a52e893312e25c43a4e568..396844c68a330087cace1920db860759882927a9 100644 (file)
@@ -7,7 +7,7 @@
 --                                  S p e c                                 --
 --                                                                          --
 --               Copyright (C) 1991-1994, Florida State University          --
---            Copyright (C) 1995-2012, Free Software Foundation, Inc.       --
+--            Copyright (C) 1995-2013, Free Software Foundation, Inc.       --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -522,7 +522,7 @@ private
 
    type timespec is record
       tv_sec  : time_t;
-      tv_nsec : long;
+      tv_nsec : time_t;
    end record;
    pragma Convention (C, timespec);
 
index 406cf0bab27af5e90722f4bf8e1e928c58dc3cbd..f57fe9fea075ecba738e17641dc1fdb39e04ad61 100644 (file)
@@ -6,8 +6,8 @@
 --                                                                          --
 --                                  S p e c                                 --
 --                                                                          --
---        Copyright (C) 1991-1994, Florida State University                 --
---        Copyright (C) 1995-2005,2008,2012 Free Software Foundation, Inc.  --
+--               Copyright (C) 1991-1994, Florida State University          --
+--            Copyright (C) 1995-2013, Free Software Foundation, Inc.       --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -492,7 +492,7 @@ private
 
    type timespec is record
       tv_sec  : time_t;
-      tv_nsec : long;
+      tv_nsec : time_t;
    end record;
    pragma Convention (C, timespec);
 
index eb17bd4e25fe543890b04c79f0db52265df9c8c2..7aa20f115987f83ece2a14cd8207474dcded82ae 100644 (file)
@@ -7,7 +7,7 @@
 --                                  S p e c                                 --
 --                                                                          --
 --             Copyright (C) 1991-1994, Florida State University            --
---          Copyright (C) 1995-2011, Free Software Foundation, Inc.         --
+--          Copyright (C) 1995-2013, Free Software Foundation, Inc.         --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -513,7 +513,7 @@ private
 
    type timespec is record
       tv_sec  : time_t;
-      tv_nsec : long;
+      tv_nsec : time_t;
    end record;
    pragma Convention (C, timespec);