⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changes

📁 把fortran语言编的程序转为c语言编的程序, 运行环境linux
💻
📖 第 1 页 / 共 5 页
字号:
a macro.  Tweak lib[FI]77/makefile to use unique intermediate filenames (for parallel makes).Tue May 19 09:03:05 EDT 1992:  Adjust libI77 to make err= work with internal list and formatted I/O.Sat May 23 18:17:42 EDT 1992:  Under -A and -C++, supply "return 0;" after the code generated fora STOP statement -- the C compiler doesn't know that s_stop won'treturn.  New (mutually exclusive) options:	-f	treats all input lines as free-format lines,		honoring text that appears after column 72		and not padding lines shorter than 72 characters		with blanks (which matters if a character string		is continued across 2 or more lines).	-72	treats text appearing after column 72 as an error.Sun May 24 09:45:37 EDT 1992:  Tweak description of -f in f2c.1 and f2c.1t; update f2c.ps .Fri May 29 01:17:15 EDT 1992:  Complain about externals used as variables.  Example	subroutine foo(a,b)	external b	a = a*b		! illegal use of b; perhaps should be b()	endMon Jun 15 11:15:27 EDT 1992:  Fix bug in handling namelists with names that have underscores.Sat Jun 27 17:30:59 EDT 1992:  Under -A and -C++, end Main program aliases with "return 0;".  Under -A and -C++, use .P files and usage in previous subprogramsin the current file to give prototypes for functions declared EXTERNALbut not invoked.  Fix memory fault under -d1 -P .  Under -A and -C++, cast arguments to the right types in callinga function that has been defined in the current file or in a .P file.  Fix bug in handling multi-dimensional arrays with array referencesin their leading dimensions.  Fix bug in the intrinsic cmplx function when the first argumentinvolves an expression for which f2c generates temporary variables,e.g. cmplx(abs(real(a)),1.) .Sat Jul 18 07:36:58 EDT 1992:  Fix buglet with -e1c (invisible on most systems) temporary filef2c_functions was unlinked before being closed.  libf77: fix bugs in evaluating m**n for integer n < 0 and m aninteger different from 1 or a real or double precision 0.Catch SIGTRAP (to print "Trace trap" before aborting).  Programsthat previously erroneously computed 1 for 0**-1 may now fault.Relevant routines: main.c pow_di.c pow_hh.c pow_ii.c pow_ri.c .Sat Jul 18 08:40:10 EDT 1992:  libi77: allow namelist input to end with & (e.g. &end).Thu Jul 23 00:14:43 EDT 1992  Append two underscores rather than one to C keywords used aslocal variables to avoid conflicts with similarly named COMMON blocks.Thu Jul 23 11:20:55 EDT 1992:  libf77, libi77 updated to assume ANSI prototypes unless KR_headersis #defined.  libi77 now recognizes a Z format item as in Fortran 90;the implementation assumes 8-bit bytes and botches character stringson little-endian machines (by printing their bytes from right toleft): expect this bug to persist; fixing it would require achange to the I/O calling sequences.Tue Jul 28 15:18:33 EDT 1992:  libi77: insert missed "#ifdef KR_headers" lines around getnumheader in rsne.c.  Version not updated.NOTE: "index from f2c" now ends with current timestamps of files in"all from f2c/src", sorted by time.  To bring your source up to date,obtain source files with a timestamp later than the time shown in yourversion.c.Fri Aug 14 08:07:09 EDT 1992:  libi77: tweak wrt_E in wref.c to avoid signing NaNs.Sun Aug 23 19:05:22 EDT 1992:  fc: supply : after O in getopt invocation (for -O1 -O2 -O3).Mon Aug 24 18:37:59 EDT 1992:  Recant above tweak to fc: getopt is dumber than I thought;it's necessary to say -O 1 (etc.).  libF77/README: add comments about ABORT, ERF, DERF, ERFC, DERFC,GETARG, GETENV, IARGC, SIGNAL, and SYSTEM.Tue Oct 27 01:57:42 EST 1992:  libf77, libi77:    1.  Fix botched indirection in signal_.c.    2.  Supply missing l_eof = 0 assignment to s_rsne() in rsne.c (soend-of-file on other files won't confuse namelist reads of externalfiles).    3.  Prepend f__ to external names that are only of internalinterest to lib[FI]77.Thu Oct 29 12:37:18 EST 1992:  libf77: Fix botch in signal_.c when KR_headers is #defined;add CFLAGS to makefile.  libi77: trivial change to makefile for consistency withlibF77/makefile.Wed Feb  3 02:05:16 EST 1993:  Recognize types INTEGER*1, LOGICAL*1, LOGICAL*2, INTEGER*8.INTEGER*8 is not well tested and will only work reasonably onsystems where int = 4 bytes, long = 8 bytes; on such systems,you'll have to modify f2c.h appropriately, changing integerfrom long to int and adding typedef long longint.  You'll alsohave to compile libI77 with Allow_TYQUAD #defined and adjustlibF77/makefile to compile pow_qq.c.  In the f2c source, changesfor INTEGER*8 are delimited by #ifdef TYQUAD ... #endif.  Youcan omit the INTEGER*8 changes by compiling with NO_TYQUAD#defined.  Otherwise, the new command-line option -!i8disables recognition of INTEGER*8.  libf77: add pow_qq.c  libi77: add #ifdef Allow_TYQUAD stuff.  Changes for INTEGER*1,LOGICAL*1, and LOGICAL*2 came last 23 July 1992.  Fix bug inbackspace (that only bit when the last character of the secondor subsequent buffer read was the previous newline).  Guardagainst L_tmpnam being too small in endfile.c.  For MSDOS,close and reopen files when copying to truncate.  LengthenLINTW (buffer size in lwrite.c).  Add \ to the end of #define lines that get broken.  Fix bug in handling NAMELIST of items in EQUIVALENCE.  Under -h (or -hd), convert Hollerith to integer in general expressions(e.g., assignments), not just when they're passed as arguments, andblank-pad rather than 0-pad the Hollerith to a multiple ofsizeof(integer) or sizeof(doublereal).  Add command-line option -s, which instructs f2c preserve multi-dimensional subscripts (by emitting and using appropriate #defines).  Fix glitch (with default type inferences) in examples like	call foo('abc')	end	subroutine foo(goo)	endThis gave two warning messages:	Warning on line 4 of y.f: inconsistent calling sequences for foo:	        here 1, previously 2 args and string lengths.	Warning on line 4 of y.f: inconsistent calling sequences for foo:	        here 2, previously 1 args and string lengths.Now the second Warning is suppressed.  Complain about all inconsistent arguments, not just the first.  Switch to automatic creation of "all from f2c/src".  For folksgetting f2c source via ftp, this means f2c/src/all.Z is now anempty file rather than a bundle.Thu Feb  4 00:32:20 EST 1993:  Fix some glitches (introduced yesterday) with -h .Fri Feb  5 01:40:38 EST 1993:  Fix bug in types conveyed for namelists (introduced 3 Feb. 1993).Fri Feb  5 21:26:43 EST 1993:  libi77: tweaks to NAMELIST and open (after comments by HaroldYoungren): 1. Reading a ? instead of &name (the start of a namelist) causes    the namelist being sought to be written to stdout (unit 6);    to omit this feature, compile rsne.c with -DNo_Namelist_Questions. 2. Reading the wrong namelist name now leads to an error message    and an attempt to skip input until the right namelist name is found;    to omit this feature, compile rsne.c with -DNo_Bad_Namelist_Skip. 3. Namelist writes now insert newlines before each variable; to omit    this feature, compile xwsne.c with -DNo_Extra_Namelist_Newlines. 4. For OPEN of sequential files, ACCESS='APPEND' (or    access='anything else starting with "A" or "a"') causes the file to    be positioned at end-of-file, so a write will append to the file.    (This is nonstandard, but does not require modifying data    structures.)Mon Feb  8 14:40:37 EST 1993:  Increase number of continuation lines allowed from 19 to 99,and allow changing this limit with -NC (e.g. -NC200 for 200 lines).  Treat control-Z (at the beginning of a line) as end-of-file: seethe new penultimate paragraph of README.  Fix a rarely seen glitch that could make an error messages to say"line 0".Tue Feb  9 02:05:40 EST 1993  libi77: change some #ifdef MSDOS lines to #ifdef NON_UNIX_STDIO,and, in err.c under NON_UNIX_STDIO, avoid close(creat(name,0666))when the unit has another file descriptor for name.Tue Feb  9 17:12:49 EST 1993  libi77: more tweaks for NON_UNIX_STDIO: use stdio routinesrather than open, close, creat, seek, fdopen (except for f__isdev).Fri Feb 12 15:49:33 EST 1993  Update src/gram.c (which was forgotten in the recent updates).Most folks regenerate it anyway (wity yacc or bison).Thu Mar  4 17:07:38 EST 1993  Increase default max labels in computed gotos and alternate returnsto 257, and allow -Nl1234 to specify this number.  Tweak put.c to check p->tag == TADDR in realpart() and imagpart().  Adjust fc script to allow .r (RATFOR) files and -C (check subscripts).  Avoid declaring strchr in niceprintf.c under -DANSI_Libraries .  gram.c updated again.  libi77: err.c, open.c: take declaration of fdopen from rawio.h.Sat Mar  6 07:09:11 EST 1993  libi77: uio.c: adjust off-end-of-record test for sequentialunformatted reads to respond to err= rather than end= .Sat Mar  6 16:12:47 EST 1993  Treat scalar arguments of the form (v) and v+0, where v is a variable,as expressions: assign to a temporary variable, and pass the latter.  gram.c updated.Mon Mar  8 09:35:38 EST 1993  "f2c.h from f2c" updated to add types logical1 and integer1 forLOGICAL*1 and INTEGER*1.  ("f2c.h from f2c" is supposed to be thesame as "f2c.h from f2c/src", which was updated 3 Feb. 1993.)Mon Mar  8 17:57:55 EST 1993  Fix rarely seen bug that could cause strange casts in functioninvocations (revealed by an example with msdos/f2c.exe).  msdos/f2cx.exe.Z and msdos/f2c.exe.Z updated (ftp access only).Fri Mar 12 12:37:01 EST 1993  Fix bug with -s in handling subscripts involving min, max, andcomplicated expressions requiring temporaries.  Fix bug in handling COMMONs that need padding by a char array.  msdos/f2cx.exe.Z and msdos/f2c.exe.Z updated (ftp access only).Fri Mar 12 17:16:16 EST 1993  libf77, libi77: updated for compiling under C++.Mon Mar 15 16:21:37 EST 1993  libi77: more minor tweaks (for -DKR_headers); Version.c not changed.Thu Mar 18 12:37:30 EST 1993  Flag -r (for discarding carriage-returns on systems that end lineswith carriage-return/newline pairs, e.g. PCs) added to xsum, andxsum.c converted to ANSI/ISO syntax (with K&R syntax available with-DKR_headers).  [When time permits, the f2c source will undergo asimilar conversion.]  libi77: tweaks to #includes in endfile.c, err.c, open.c, rawio.h;Version.c not changed.  f2c.ps updated (to pick up revision of 2 Feb. 1993 to f2c.1).Fri Mar 19 09:19:26 EST 1993  libi77: add (char *) casts to malloc and realloc invocationsin err.c, open.c; Version.c not changed.Tue Mar 30 07:17:15 EST 1993  Fix bug introduced 6 March 1993: possible memory corruption whenloops in data statements involve constant subscripts, as in	 DATA (GUNIT(1,I),I=0,14)/15*-1/Tue Mar 30 16:17:42 EST 1993  Fix bug with -s: (floating-point array item)*(complex item)generates an _subscr() reference for the floating-point array,but a #define for the _subscr() was omitted.Tue Apr  6 12:11:22 EDT 1993  libi77: adjust error returns for formatted inputs to flush the currentinput line when err= is specified.  To restore the old behavior (inputleft mid-line), either adjust the #definition of errfl in fio.h or omitthe invocation of f__doend in err__fl (in err.c).Tue Apr  6 13:30:04 EDT 1993  Fix bug revealed in	subroutine foo(i)	call goo(int(i))	endwhich now passes a copy of i, rather than i itself.Sat Apr 17 11:41:02 EDT 1993  Adjust appending of underscores to conform with f2c.ps ("A Fortranto C Converter"): names that conflict with C keywords or f2c typenames now have just one underscore appended (rather than two); add"integer1", "logical1", "longint" to the keyword list.  Append underscores to names that appear in EQUIVALENCE and arecomponent names in a structure declared in f2c.h, thus avoiding aproblem caused by the #defines emitted for equivalences.  Example:	complex a	equivalence (i,j)	a = 1	! a.i went awry because of #define i	j = 2	write(*,*) a, i	end  Adjust line-breaking logic to avoid splitting very long constants(and names).  Example:	! The next line starts with tab and thus is a free-format line.	a=.012345689012345689012345689012345689012345689012345689012345689012345689	end  Omit extraneous "return 0;" from entry stubs emitted for multipleentry points of type character, complex, or double complex.Sat Apr 17 14:35:05 EDT 1993  Fix bug (introduced 4 Feb.) in separating -P from -A that kept f2cfrom re-reading a .P file written without -A or -C++ describing aroutine with an external argument.  [See the just-added note aboutseparating -P from -A in the changes above for 4 Feb. 1993.]  Fix bug (type UNKNOWN for V in the example below) revealed by	subroutine a()	external c	call b(c)	end	subroutine b(v)	endSun Apr 18 19:55:26 EDT 1993  Fix wrong calling sequence for mem() in yesterday's addition toequiv.c .Wed Apr 21 17:39:46 EDT 1993  Fix bug revealed in      ASSIGN 10 TO L1      GO TO 20 10   ASSIGN 30 TO L2      STOP 10 20   ASSIGN 10 TO L2	! Bug here because 10 had been assigned			! to another label, then defined.      GO TO L2 30   ENDFri Apr 23 18:38:50 EDT 1993  Fix bug with -h revealed

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -