summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-12-14 21:42:21 +0000
committerobrien <obrien@FreeBSD.org>2000-12-14 21:42:21 +0000
commitd566d0a5f8c3f4d187ecbf8096628e9ae9dd3567 (patch)
tree1ad79467617a2eae5df16e8b634fb749f95e5721
parentdbfeddd336557220b675ba403dcd056ac793c80f (diff)
downloadFreeBSD-src-d566d0a5f8c3f4d187ecbf8096628e9ae9dd3567.zip
FreeBSD-src-d566d0a5f8c3f4d187ecbf8096628e9ae9dd3567.tar.gz
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.
-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 6d0e6db..6f57ca2 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 8705161..a1cb51f 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 adc2311..64b31bc 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 08ff0e8..f2b1211 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 fb31ed4..c6715fd 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 b9a74fd..58f6a67 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 aa34bc0..19100e6 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 eae559f..88eead3 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
OpenPOWER on IntegriCloud