Commit b66eaab2 by Eric Botcazou Committed by Eric Botcazou

re PR ada/54040 ([x32] Incorrect timeval and timespec)

	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
parent fba0d71e
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> 2013-11-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (Loop_Statement_to_gnu): Set TREE_SIDE_EFFECTS * gcc-interface/trans.c (Loop_Statement_to_gnu): Set TREE_SIDE_EFFECTS
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1991-1994, Florida State University -- -- 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 -- -- 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- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -522,7 +522,7 @@ private ...@@ -522,7 +522,7 @@ private
type timespec is record type timespec is record
tv_sec : time_t; tv_sec : time_t;
tv_nsec : long; tv_nsec : time_t;
end record; end record;
pragma Convention (C, timespec); pragma Convention (C, timespec);
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
-- -- -- --
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1991-1994, Florida State University -- -- Copyright (C) 1991-1994, Florida State University --
-- Copyright (C) 1995-2005,2008,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 -- -- 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- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -492,7 +492,7 @@ private ...@@ -492,7 +492,7 @@ private
type timespec is record type timespec is record
tv_sec : time_t; tv_sec : time_t;
tv_nsec : long; tv_nsec : time_t;
end record; end record;
pragma Convention (C, timespec); pragma Convention (C, timespec);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1991-1994, Florida State University -- -- 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 -- -- 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- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -513,7 +513,7 @@ private ...@@ -513,7 +513,7 @@ private
type timespec is record type timespec is record
tv_sec : time_t; tv_sec : time_t;
tv_nsec : long; tv_nsec : time_t;
end record; end record;
pragma Convention (C, timespec); pragma Convention (C, timespec);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment