aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-14 21:42:21 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-14 21:42:21 +0000
commita7f8efad11bbd00375303fd0fb2686411c2ba494 (patch)
tree1ad79467617a2eae5df16e8b634fb749f95e5721
parent14eaea6f7df0c47fa58497182ed29cfcb9a341d3 (diff)
downloadsrc-a7f8efad11bbd00375303fd0fb2686411c2ba494.tar.gz
src-a7f8efad11bbd00375303fd0fb2686411c2ba494.zip
Import of a GCC 2.96 snapshot taken from the trunk of the FSF GCC anoncvs
server on 11-July-2000, at 17:32 Zulu. This is the last point [that I know of] that Cygnus synced their internal IA-64 GCC tree with the public FSF one.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=70029
-rw-r--r--contrib/libf2c/ChangeLog19
-rw-r--r--contrib/libf2c/libF77/Version.c2
-rw-r--r--contrib/libf2c/libI77/Version.c2
-rw-r--r--contrib/libf2c/libI77/rdfmt.c14
-rw-r--r--contrib/libf2c/libU77/Version.c2
-rw-r--r--contrib/libf2c/libU77/aclocal.m47
-rw-r--r--contrib/libf2c/libU77/dtime_.c3
-rw-r--r--contrib/libf2c/libU77/etime_.c3
8 files changed, 43 insertions, 9 deletions
diff --git a/contrib/libf2c/ChangeLog b/contrib/libf2c/ChangeLog
index 6d0e6db5b1c1..6f57ca24198b 100644
--- a/contrib/libf2c/ChangeLog
+++ b/contrib/libf2c/ChangeLog
@@ -1,3 +1,22 @@
+2000-07-03 Donn Terry (donnte@microsoft.com)
+ * libU77/aclocal.m4: check for 2 argument gettimeofday without
+ struct timezone
+
+2000-07-02 Toon Moene <toon@moene.indiv.nluug.nl>
+ * libF77/Version.c: Bumped version number to 0.5.26.
+ * libI77/Version.c: Ditto.
+ * libU77/Version.c: Ditto.
+
+2000-06-21 Zack Weinberg <zack@wolery.cumb.org>
+
+ * libU77/dtime_.c, libU77/etime_.c: Include stdlib.h if
+ HAVE_STDLIB_H is defined.
+
+2000-06-11 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
+
+ * rdfmt.c (rd_L): Use if-then-else instead of case statement to
+ solve problems when sizeof(char) == sizeof(short).
+
2000-05-18 Chris Demetriou <cgd@sibyte.com>
* configure.in: Test for __g77_integer, __g77_uinteger,
diff --git a/contrib/libf2c/libF77/Version.c b/contrib/libf2c/libF77/Version.c
index 8705161c2682..a1cb51fe4144 100644
--- a/contrib/libf2c/libF77/Version.c
+++ b/contrib/libf2c/libF77/Version.c
@@ -3,7 +3,7 @@ static char junk[] = "\n@(#)LIBF77 VERSION 19991115\n";
/*
*/
-char __G77_LIBF77_VERSION__[] = "0.5.25 20000603 (prerelease)";
+char __G77_LIBF77_VERSION__[] = "0.5.26 20000711 (prerelease)";
/*
2.00 11 June 1980. File version.c added to library.
diff --git a/contrib/libf2c/libI77/Version.c b/contrib/libf2c/libI77/Version.c
index adc2311a6568..64b31bc7812e 100644
--- a/contrib/libf2c/libI77/Version.c
+++ b/contrib/libf2c/libI77/Version.c
@@ -3,7 +3,7 @@ static char junk[] = "\n@(#) LIBI77 VERSION pjw,dmg-mods 19991115\n";
/*
*/
-char __G77_LIBI77_VERSION__[] = "0.5.25 20000603 (prerelease)";
+char __G77_LIBI77_VERSION__[] = "0.5.26 20000711 (prerelease)";
/*
2.01 $ format added
diff --git a/contrib/libf2c/libI77/rdfmt.c b/contrib/libf2c/libI77/rdfmt.c
index 08ff0e827b4e..f2b121193a7b 100644
--- a/contrib/libf2c/libI77/rdfmt.c
+++ b/contrib/libf2c/libI77/rdfmt.c
@@ -208,11 +208,15 @@ rd_L(ftnint *n, int w, ftnlen len)
case '\n':
return errno = 116;
}
- switch(len) {
- case sizeof(char): *(char *)n = (char)lv; break;
- case sizeof(short): *(short *)n = (short)lv; break;
- default: *n = lv;
- }
+ /* The switch statement that was here
+ didn't cut it: It broke down for targets
+ where sizeof(char) == sizeof(short). */
+ if (len == sizeof(char))
+ *(char *)n = (char)lv;
+ else if (len == sizeof(short))
+ *(short *)n = (short)lv;
+ else
+ *n = lv;
while(w-- > 0) {
GET(ch);
if (ch == ',' || ch == '\n')
diff --git a/contrib/libf2c/libU77/Version.c b/contrib/libf2c/libU77/Version.c
index fb31ed4fa36c..c6715fd7bba2 100644
--- a/contrib/libf2c/libU77/Version.c
+++ b/contrib/libf2c/libU77/Version.c
@@ -1,6 +1,6 @@
static char junk[] = "\n@(#) LIBU77 VERSION 19980709\n";
-char __G77_LIBU77_VERSION__[] = "0.5.25 20000603 (prerelease)";
+char __G77_LIBU77_VERSION__[] = "0.5.26 20000711 (prerelease)";
#include <stdio.h>
diff --git a/contrib/libf2c/libU77/aclocal.m4 b/contrib/libf2c/libU77/aclocal.m4
index b9a74fd82f61..58f6a675899a 100644
--- a/contrib/libf2c/libU77/aclocal.m4
+++ b/contrib/libf2c/libU77/aclocal.m4
@@ -54,8 +54,13 @@ main ()
],
[
struct timeval time;
+#ifdef HAVE_TIMEZONE
struct timezone dummy;
- gettimeofday (&time, &dummy);],
+#define DUMMY &dummy
+#else
+#define DUMMY NULL
+#endif
+ gettimeofday (&time, DUMMY);],
emacs_cv_gettimeofday_two_arguments=yes,
emacs_cv_gettimeofday_two_arguments=no))
if test $emacs_cv_gettimeofday_two_arguments = no; then
diff --git a/contrib/libf2c/libU77/dtime_.c b/contrib/libf2c/libU77/dtime_.c
index aa34bc027e08..19100e698de6 100644
--- a/contrib/libf2c/libU77/dtime_.c
+++ b/contrib/libf2c/libU77/dtime_.c
@@ -19,6 +19,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
diff --git a/contrib/libf2c/libU77/etime_.c b/contrib/libf2c/libU77/etime_.c
index eae559f74147..88eead3fbb47 100644
--- a/contrib/libf2c/libU77/etime_.c
+++ b/contrib/libf2c/libU77/etime_.c
@@ -19,6 +19,9 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif