Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
2731cc56
Commit
2731cc56
authored
Mar 22, 1998
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge in g77-0.5.22.
From-SVN: r18757
parent
44d2eabc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
104 additions
and
15 deletions
+104
-15
libf2c/ChangeLog
+22
-0
libf2c/configure
+67
-11
libf2c/configure.in
+2
-0
libf2c/libF77/Version.c
+1
-1
libf2c/libI77/Version.c
+1
-1
libf2c/libI77/err.c
+2
-1
libf2c/libI77/open.c
+8
-0
libf2c/libU77/Version.c
+1
-1
No files found.
libf2c/ChangeLog
View file @
2731cc56
Sat Feb 28 15:32:15 1998 Craig Burley <burley@gnu.org>
* libI77/open.c (f_open): Use sizeof(buf) instead of
256, for the usual reasons.
Tue Dec 23 22:56:01 1997 Craig Burley <burley@gnu.org>
Tue Dec 23 22:56:01 1997 Craig Burley <burley@gnu.org>
* libF77/signal_.c (G77_signal_0): Return type is
* libF77/signal_.c (G77_signal_0): Return type is
...
@@ -9,6 +14,17 @@ Wed Oct 29 01:01:04 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
...
@@ -9,6 +14,17 @@ Wed Oct 29 01:01:04 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
* configure.in: Set CC to CC_FOR_TARGET when cross-compiling.
* configure.in: Set CC to CC_FOR_TARGET when cross-compiling.
Fri Oct 24 11:15:22 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
* libI77/close.c (f_exit): Reset f__init so that f_clos does not
(incorrectly) think there is an I/O recursion when program is
interrupted.
Wed Oct 15 10:06:29 1997 Richard Henderson <rth@cygnus.com>
* libI77/fio.h: Include <string.h> if STDC_HEADERS.
* libU77/chmod_.c: Likewise.
Tue Sep 30 00:41:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
Tue Sep 30 00:41:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
Do a better job of printing the offending FORMAT string
Do a better job of printing the offending FORMAT string
...
@@ -532,6 +548,12 @@ Thu Oct 31 22:27:45 1996 Craig Burley <burley@gnu.ai.mit.edu>
...
@@ -532,6 +548,12 @@ Thu Oct 31 22:27:45 1996 Craig Burley <burley@gnu.ai.mit.edu>
* libI77/Version.c: Use <stdio.h>, not "stdio.h".
* libI77/Version.c: Use <stdio.h>, not "stdio.h".
* libF77/Version.c: Likewise.
* libF77/Version.c: Likewise.
1997-10-03 Dave Love <d.love@dl.ac.uk>
* configure.in: Check for tempnam (best because it obeys TMPDIR).
* libI77/open.c: Use it.
* libI77/err.c: New message # 132.
Wed Aug 28 13:25:29 1996 Dave Love <d.love@dl.ac.uk>
Wed Aug 28 13:25:29 1996 Dave Love <d.love@dl.ac.uk>
* libI77/rsne.c (x_rsne): Use size_t instead of int.
* libI77/rsne.c (x_rsne): Use size_t instead of int.
...
...
libf2c/configure
View file @
2731cc56
...
@@ -1567,24 +1567,80 @@ fi
...
@@ -1567,24 +1567,80 @@ fi
for
ac_func
in
tempnam
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:1574: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 1579 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char
$ac_func
();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_
$ac_func
) || defined (__stub___
$ac_func
)
choke me
#else
$ac_func
();
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:1602:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
$ac_func
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
ac_tr_func
=
HAVE_
`
echo
$ac_func
| tr
'abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
`
cat
>>
confdefs.h
<<
EOF
#define
$ac_tr_func
1
EOF
else
echo
"
$ac_t
""no"
1>&6
fi
done
# posix will guarantee the right behaviour for sprintf, else we can't be
# posix will guarantee the right behaviour for sprintf, else we can't be
# sure; HEADER_STDC wouldn't be the right check in sunos4, for instance.
# sure; HEADER_STDC wouldn't be the right check in sunos4, for instance.
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
# we're posix-conformant, so always do the test.
# we're posix-conformant, so always do the test.
echo
$ac_n
"checking for ansi/posix sprintf result""...
$ac_c
"
1>&6
echo
$ac_n
"checking for ansi/posix sprintf result""...
$ac_c
"
1>&6
echo
"configure:1
576
: checking for ansi/posix sprintf result"
>
&5
echo
"configure:1
632
: checking for ansi/posix sprintf result"
>
&5
if
test
"
$cross_compiling
"
=
yes
;
then
if
test
"
$cross_compiling
"
=
yes
;
then
g77_cv_sys_sprintf_ansi
=
no
g77_cv_sys_sprintf_ansi
=
no
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
581
"configure"
#line 1
637
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include <stdio.h>
#include <stdio.h>
/* does sprintf return the number of chars transferred? */
/* does sprintf return the number of chars transferred? */
main () {char foo[2]; (sprintf(foo, "1") == 1) ? exit(0) : exit(1);}
main () {char foo[2]; (sprintf(foo, "1") == 1) ? exit(0) : exit(1);}
EOF
EOF
if
{
(
eval echo
configure:1
588
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:1
644
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
then
g77_cv_sys_sprintf_ansi
=
yes
g77_cv_sys_sprintf_ansi
=
yes
else
else
...
@@ -1618,9 +1674,9 @@ fi
...
@@ -1618,9 +1674,9 @@ fi
# define NON_ANSI_RW_MODES on unix (can't hurt)
# define NON_ANSI_RW_MODES on unix (can't hurt)
echo
$ac_n
"checking NON_ANSI_RW_MODES""...
$ac_c
"
1>&6
echo
$ac_n
"checking NON_ANSI_RW_MODES""...
$ac_c
"
1>&6
echo
"configure:16
22
: checking NON_ANSI_RW_MODES"
>
&5
echo
"configure:16
78
: checking NON_ANSI_RW_MODES"
>
&5
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 16
24
"configure"
#line 16
80
"configure"
#include "confdefs.h"
#include "confdefs.h"
#ifdef unix
#ifdef unix
yes
yes
...
@@ -1661,14 +1717,14 @@ fi
...
@@ -1661,14 +1717,14 @@ fi
# (via com.h). proj.h and com.h are in $srcdir/.., config.h which they need
# (via com.h). proj.h and com.h are in $srcdir/.., config.h which they need
# is in ../.. and the config files are in $srcdir/../../config.
# is in ../.. and the config files are in $srcdir/../../config.
echo
$ac_n
"checking f2c integer type""...
$ac_c
"
1>&6
echo
$ac_n
"checking f2c integer type""...
$ac_c
"
1>&6
echo
"configure:1
665
: checking f2c integer type"
>
&5
echo
"configure:1
721
: checking f2c integer type"
>
&5
late_ac_cpp
=
$ac_cpp
late_ac_cpp
=
$ac_cpp
ac_cpp
=
"
$late_ac_cpp
-I
$srcdir
/../gcc/f -I../../gcc -I
$srcdir
/../gcc -I
$srcdir
/../gcc/config"
ac_cpp
=
"
$late_ac_cpp
-I
$srcdir
/../gcc/f -I../../gcc -I
$srcdir
/../gcc -I
$srcdir
/../gcc/config"
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2cinteger
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2cinteger
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
672
"configure"
#line 1
728
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1691,7 +1747,7 @@ rm -f conftest*
...
@@ -1691,7 +1747,7 @@ rm -f conftest*
if
test
"
$g77_cv_sys_f2cinteger
"
=
""
;
then
if
test
"
$g77_cv_sys_f2cinteger
"
=
""
;
then
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
695
"configure"
#line 1
751
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1726,14 +1782,14 @@ ac_cpp=$late_ac_cpp
...
@@ -1726,14 +1782,14 @@ ac_cpp=$late_ac_cpp
echo
$ac_n
"checking f2c long int type""...
$ac_c
"
1>&6
echo
$ac_n
"checking f2c long int type""...
$ac_c
"
1>&6
echo
"configure:17
30
: checking f2c long int type"
>
&5
echo
"configure:17
86
: checking f2c long int type"
>
&5
late_ac_cpp
=
$ac_cpp
late_ac_cpp
=
$ac_cpp
ac_cpp
=
"
$late_ac_cpp
-I
$srcdir
/../gcc/f -I../../gcc -I
$srcdir
/../gcc -I
$srcdir
/../gcc/config"
ac_cpp
=
"
$late_ac_cpp
-I
$srcdir
/../gcc/f -I../../gcc -I
$srcdir
/../gcc -I
$srcdir
/../gcc/config"
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2clongint
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
g77_cv_sys_f2clongint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 17
37
"configure"
#line 17
93
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
@@ -1756,7 +1812,7 @@ rm -f conftest*
...
@@ -1756,7 +1812,7 @@ rm -f conftest*
if
test
"
$g77_cv_sys_f2clongint
"
=
""
;
then
if
test
"
$g77_cv_sys_f2clongint
"
=
""
;
then
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 1
760
"configure"
#line 1
816
"configure"
#include "confdefs.h"
#include "confdefs.h"
#include "proj.h"
#include "proj.h"
#define FFECOM_DETERMINE_TYPES 1
#define FFECOM_DETERMINE_TYPES 1
...
...
libf2c/configure.in
View file @
2731cc56
...
@@ -192,6 +192,8 @@ dnl test $ac_cv_func_symlink = yes && SYMLNK=symlnk_.o
...
@@ -192,6 +192,8 @@ dnl test $ac_cv_func_symlink = yes && SYMLNK=symlnk_.o
dnl test $ac_cv_func_lstat = yes && SYMLNK="$SYMLNK lstat_.o"
dnl test $ac_cv_func_lstat = yes && SYMLNK="$SYMLNK lstat_.o"
dnl AC_SUBST(SYMLNK)
dnl AC_SUBST(SYMLNK)
AC_CHECK_FUNCS(tempnam)
# posix will guarantee the right behaviour for sprintf, else we can't be
# posix will guarantee the right behaviour for sprintf, else we can't be
# sure; HEADER_STDC wouldn't be the right check in sunos4, for instance.
# sure; HEADER_STDC wouldn't be the right check in sunos4, for instance.
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
# However, on my sunos4/gcc setup unistd.h leads us wrongly to believe
...
...
libf2c/libF77/Version.c
View file @
2731cc56
...
@@ -3,7 +3,7 @@ static char junk[] = "\n@(#)LIBF77 VERSION 19970919\n";
...
@@ -3,7 +3,7 @@ static char junk[] = "\n@(#)LIBF77 VERSION 19970919\n";
/*
/*
*/
*/
char
__G77_LIBF77_VERSION__
[]
=
"0.5.2
1
"
;
char
__G77_LIBF77_VERSION__
[]
=
"0.5.2
2
"
;
/*
/*
2.00 11 June 1980. File version.c added to library.
2.00 11 June 1980. File version.c added to library.
...
...
libf2c/libI77/Version.c
View file @
2731cc56
...
@@ -3,7 +3,7 @@ static char junk[] = "\n@(#) LIBI77 VERSION pjw,dmg-mods 19970916\n";
...
@@ -3,7 +3,7 @@ static char junk[] = "\n@(#) LIBI77 VERSION pjw,dmg-mods 19970916\n";
/*
/*
*/
*/
char
__G77_LIBI77_VERSION__
[]
=
"0.5.22
-19970930
"
;
char
__G77_LIBI77_VERSION__
[]
=
"0.5.22"
;
/*
/*
2.01 $ format added
2.01 $ format added
...
...
libf2c/libI77/err.c
View file @
2731cc56
...
@@ -80,7 +80,8 @@ char *F_err[] =
...
@@ -80,7 +80,8 @@ char *F_err[] =
"'new' file exists"
,
/* 128 */
"'new' file exists"
,
/* 128 */
"can't append to file"
,
/* 129 */
"can't append to file"
,
/* 129 */
"non-positive record number"
,
/* 130 */
"non-positive record number"
,
/* 130 */
"I/O started while already doing I/O"
/* 131 */
"I/O started while already doing I/O"
,
/* 131 */
"Temporary file name (TMPDIR?) too long"
/* 132 */
};
};
#define MAXERR (sizeof(F_err)/sizeof(char *)+100)
#define MAXERR (sizeof(F_err)/sizeof(char *)+100)
...
...
libf2c/libI77/open.c
View file @
2731cc56
...
@@ -143,12 +143,20 @@ integer f_open(olist *a)
...
@@ -143,12 +143,20 @@ integer f_open(olist *a)
case
's'
:
case
's'
:
case
'S'
:
case
'S'
:
b
->
uscrtch
=
1
;
b
->
uscrtch
=
1
;
#ifdef HAVE_TEMPNAM
/* Allow use of TMPDIR preferentially. */
s
=
tempnam
(
0
,
buf
);
if
(
strlen
(
s
)
>=
sizeof
(
buf
))
err
(
a
->
oerr
,
132
,
"open"
);
(
void
)
strcpy
(
buf
,
s
);
free
(
s
);
#else
/* ! defined (HAVE_TEMPNAM) */
#ifdef _POSIX_SOURCE
#ifdef _POSIX_SOURCE
tmpnam
(
buf
);
tmpnam
(
buf
);
#else
#else
(
void
)
strcpy
(
buf
,
"tmp.FXXXXXX"
);
(
void
)
strcpy
(
buf
,
"tmp.FXXXXXX"
);
(
void
)
mktemp
(
buf
);
(
void
)
mktemp
(
buf
);
#endif
#endif
#endif
/* ! defined (HAVE_TEMPNAM) */
goto
replace
;
goto
replace
;
case
'n'
:
case
'n'
:
case
'N'
:
case
'N'
:
...
...
libf2c/libU77/Version.c
View file @
2731cc56
static
char
junk
[]
=
"
\n
@(#) LIBU77 VERSION 19970919
\n
"
;
static
char
junk
[]
=
"
\n
@(#) LIBU77 VERSION 19970919
\n
"
;
char
__G77_LIBU77_VERSION__
[]
=
"0.5.22
-970919
"
;
char
__G77_LIBU77_VERSION__
[]
=
"0.5.22"
;
#include <stdio.h>
#include <stdio.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment