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

📄 changes

📁 把fortran语言编的程序转为c语言编的程序, 运行环境linux
💻
📖 第 1 页 / 共 5 页
字号:
Fri Jan 18 22:56:15 EST 1991:  Add comment to README about needing to comment out the typedef ofsize_t in sysdep.h on some systems, e.g. Sun 4.1.  Fix misspelling of "statement" in an error message in lex.cWed Jan 23 00:38:48 EST 1991:  Allow hex, octal, and binary constants to have the qualifying letter(z, x, o, or b) either before or after the quoted string containing thedigits.  For now this change will not be reflected in f2c.ps .Tue Jan 29 16:23:45 EST 1991:  Arrange for character-valued statement functions to give results ofthe right length (that of the statement function's name).Wed Jan 30 07:05:32 EST 1991:  More tweaks for character-valued statement functions: an errorcheck and an adjustment so a right-hand side of nonconstant length(e.g., a substring) is handled right.Wed Jan 30 09:49:36 EST 1991:  Fix p1_head to avoid printing (char *)0 with %s.Thu Jan 31 13:53:44 EST 1991:  Add a test after the cleanup call generated for I/O statements withERR= or END= clauses to catch the unlikely event that the cleanuproutine encounters an error.Mon Feb  4 08:00:58 EST 1991:  Minor cleanup: omit unneeded jumps and labels from code generated forsome NAMELIST READs and WRITEs with IOSTAT=, ERR=, and/or END=.Tue Feb  5 01:39:36 EST 1991:  Change Mktemp to mktmp (for the benefit of systems so brain-damagedthat they do not distinguish case in external names -- and that forsome reason want to load mktemp).  Try to get xsum0.out right thistime (it somehow didn't get updated on 4 Feb. 1991).  Add note to libi77/README about adjusting the interpretation ofRECL= specifiers in OPENs for direct unformatted I/O.Thu Feb  7 17:24:42 EST 1991:  New option -r casts values of REAL functions, including intrinsics,to REAL.  This only matters for unportable code like	real r	r = asin(1.)	if (r .eq. asin(1.)) ...[The behavior of such code varies with the Fortran compiler used --and sometimes is affected by compiler options.]  For now, the man pageat the end of f2c.ps is the only part of f2c.ps that reflects this newoption.Fri Feb  8 18:12:51 EST 1991:  Cast pointer differences passed as arguments to the appropriate type.This matters, e.g., with MSDOS compilers that yield a long pointerdifference but have int == short.  Disallow nonpositive dimensions.Fri Feb 15 12:24:15 EST 1991:  Change %d to %ld in sprintf call in putpower in putpcc.c.  Free more memory (e.g. allowing translation of larger Fortranfiles under MS-DOS).  Recognize READ (character expression) and WRITE (character expression)as formatted I/O with the format given by the character expression.  Update year in Notice.Sat Feb 16 00:42:32 EST 1991:  Recant recognizing WRITE(character expression) as formatted output-- Fortran 77 is not symmetric in its syntax for READ and WRITE.Mon Mar  4 15:19:42 EST 1991:  Fix bug in passing the real part of a complex argument to an intrinsicfunction.  Omit unneeded parentheses in nested calls to intrinsics.Example:	subroutine foo(x, y)	complex y	x = exp(sin(real(y))) + exp(imag(y))	endFri Mar  8 15:05:42 EST 1991:  Fix a comment in expr.c; omit safstrncpy.c (which had bugs incases not used by f2c).Wed Mar 13 02:27:23 EST 1991:  Initialize firstmemblock->next in mem_init in mem.c .  [On mostsystems it was fortuituously 0, but with System V, -lmalloc couldtrip on this missed initialization.]Wed Mar 13 11:47:42 EST 1991:  Fix a reference to freed memory.Wed Mar 27 00:42:19 EST 1991:  Fix a memory fault caused by such illegal Fortran as       function foo       x = 3       logical foo	! declaration among executables       foo=.false.	! used to suffer memory fault       endFri Apr  5 08:30:31 EST 1991:  Fix loss of % in some format expressions, e.g.	write(*,'(1h%)')  Fix botch introduced 27 March 1991 that caused subroutines withmultiple entry points to have extraneous declarations of ret_val.Fri Apr  5 12:44:02 EST 1991  Try again to omit extraneous ret_val declarations -- this morning'sfix was sometimes wrong.Mon Apr  8 13:47:06 EDT 1991:  Arrange for s_rnge to have the right prototype under -A -C .Wed Apr 17 13:36:03 EDT 1991:  New fatal error message for apparent invocation of a recursivestatement function.Thu Apr 25 15:13:37 EDT 1991:  F2c and libi77 adjusted so NAMELIST works with -i2.  (I forgotabout -i2 when adding NAMELIST.)  This required a change to f2c.h(that only affects NAMELIST I/O under -i2.)  Man-page description of-i2 adjusted to reflect that -i2 stores array lengths in short ints.Fri Apr 26 02:54:41 EDT 1991:  Libi77: fix some bugs in NAMELIST reading of multi-dimensional arrays(file rsne.c).Thu May  9 02:13:51 EDT 1991:  Omit a trailing space in expr.c (could cause a false xsum value ifa mailer drops the trailing blank).Thu May 16 13:14:59 EDT 1991:  Libi77: increase LEFBL in lio.h to overcome a NeXT bug.  Tweak for compilers that recognize "nested" comments: inside comments,turn /* into /+ (as well as */ into +/).Sat May 25 11:44:25 EDT 1991:  libf77: s_rnge: declare line long int rather than int.Fri May 31 07:51:50 EDT 1991:  libf77: system_: officially return status.Mon Jun 17 16:52:53 EDT 1991:  Minor tweaks: omit unnecessary declaration of strcmp (that causedtrouble on a system where strcmp was a macro) from misc.c; addSHELL = /bin/sh to makefiles.  Fix a dereference of null when a CHARACTER*(*) declaration appears(illegally) after DATA.  Complain only once per subroutine aboutdeclarations appearing after DATA.Mon Jul  1 00:28:13 EDT 1991:  Add test and error message for illegal use of subroutine names, e.g.      SUBROUTINE ZAP(A)      ZAP = A      ENDMon Jul  8 21:49:20 EDT 1991:  Issue a warning about things like	integer i	i = 'abc'(which is treated as i = ichar('a')).  [It might be nice to treat 'abc'as an integer initialized (in a DATA statement) with 'abc', butother matters have higher priority.]  Render	i = ichar('A')as	i = 'A';rather than	i = 65;(which assumes ASCII).Fri Jul 12 07:41:30 EDT 1991:  Note added to README about erroneous definitions of __STDC__ .Sat Jul 13 13:38:54 EDT 1991:  Fix bugs in double type convesions of complex values, e.g.sngl(real(...)) or dble(real(...)) (where ... is complex).Mon Jul 15 13:21:42 EDT 1991:  Fix bug introduced 8 July 1991 that caused erroneous warnings"ichar([first char. of] char. string) assumed for conversion to numeric"when a subroutine had an array of character strings as an argument.Wed Aug 28 01:12:17 EDT 1991:  Omit an unused function in format.c, an unused variable in proc.c .  Under -r8, promote complex to double complex (as the man page claims).Fri Aug 30 17:19:17 EDT 1991:  f2c.ps updated: slightly expand description of intrinsics and,or,xor,not; add mention of intrinsics lshift, rshift; add note about f2caccepting Fortran 90 inline comments (starting with !); update CobaltBlue address.Tue Sep 17 07:17:33 EDT 1991:  libI77: err.c and open.c modified to use modes "rb" and "wb"when (f)opening unformatted files; README updated to point outthat it may be necessary to change these modes to "r" and "w"on some non-ANSI systems.Tue Oct 15 10:25:49 EDT 1991:  Minor tweaks that make some PC compilers happier: insert somecasts, add args to signal functions.  Change -g to emit uncommented #line lines -- and to emit more of them;update fc, f2c.1, f2c.1t, f2c.ps to reflect this.  Change uchar to Uchar in xsum.c .  Bring gram.c up to date.Thu Oct 17 09:22:05 EDT 1991:  libi77: README, fio.h, sue.c, uio.c changed so the length fieldin unformatted sequential records has type long rather than int(unless UIOLEN_int is #defined).  This is for systems where sizeof(int)can vary, depending on the compiler or compiler options.Thu Oct 17 13:42:59 EDT 1991:  libi77: inquire.c: when MSDOS is defined, don't strcmp units[i].ufnmwhen it is NULL.Fri Oct 18 15:16:00 EDT 1991:  Correct xsum0.out in "all from f2c/src" (somehow botched on 15 Oct.).Tue Oct 22 18:12:56 EDT 1991:  Fix memory fault when a character*(*) argument is used (illegally)as a dummy variable in the definition of a statement function.  (Thememory fault occurred when the statement function was invoked.)  Complain about implicit character*(*).Thu Nov 14 08:50:42 EST 1991:  libi77: change uint to Uint in fmt.h, rdfmt.c, wrtfmt.c; this changeshould be invisible unless you're running a brain-damaged system.Mon Nov 25 19:04:40 EST 1991:  libi77: correct botches introduced 17 Oct. 1991 and 14 Nov. 1991(change uint to Uint in lwrite.c; other changes that only matter ifsizeof(int) != sizeof(long)).  Add a more meaningful error message when bailing out due to an attemptto invoke a COMMON variable as a function.Sun Dec  1 19:29:24 EST 1991:  libi77: uio.c: add test for read failure (seq. unformatted reads);adjust an error return from EOF to off end of record.Tue Dec 10 17:42:28 EST 1991:  Add tests to prevent memory faults with bad uses of character*(*).Thu Dec 12 11:24:41 EST 1991:  libi77: fix bug with internal list input that caused the lastcharacter of each record to be ignored; adjust error message ininternal formatted input from "end-of-file" to "off end of record"if the format specifies more characters than the record contains.Wed Dec 18 17:48:11 EST 1991:  Fix bug in translating nonsensical ichar invocations involvingconcatenations.  Fix bug in passing intrinsics lle, llt, lge, lgt as arguments;hl_le was being passed rather than l_le, etc.  libf77: adjust length parameters from long to ftnlen, forcompiling with f2c_i2 defined.Sat Dec 21 15:30:57 EST 1991:  Allow DO nnn ... to end with an END DO statement labelled nnn.Tue Dec 31 13:53:47 EST 1991:  Fix bug in handling dimension a(n**3,2) -- pow_ii was calledincorrectly.  Fix bug in translating	subroutine x(abc,n)	character abc(n)	write(abc,'(i10)') 123	end(omitted declaration and initialiation of abc_dim1).  Complain about dimension expressions of such invalid typesas complex and logical.Fri Jan 17 11:54:20 EST 1992:  Diagnose some illegal uses of main program name (rather thanmemory faulting).  libi77:  (1) In list and namelist input, treat "r* ," and "r*,"alike (where r is a positive integer constant), and fix a bug inhandling null values following items with repeat counts (e.g.,2*1,,3).  (2) For namelist reading of a numeric array, allow a newname-value subsequence to terminate the current one (as though thecurrent one ended with the right number of null values).(3) [lio.h, lwrite.c]:  omit insignificant zeros in list and namelistoutput.  (Compile with -DOld_list_output to get the old behavior.)Sat Jan 18 15:58:01 EST 1992:  libi77:  make list output consistent with F format by printing .1rather than 0.1 (introduced yesterday).Wed Jan 22 08:32:43 EST 1992:  libi77:  add comment to README pointing out preconnection ofFortran units 5, 6, 0 to stdin, stdout, stderr (respectively).Mon Feb  3 11:57:53 EST 1992:  libi77:  fix namelist read bug that caused the character followinga comma to be ignored.Fri Feb 28 01:04:26 EST 1992:  libf77:  fix buggy z_sqrt.c (double precision square root), whichmisbehaved for arguments in the southwest quadrant.Thu Mar 19 15:05:18 EST 1992:  Fix bug (introduced 17 Jan 1992) in handling multiple entry pointsof differing types (with implicitly typed entries appearing afterthe first executable statement).  Fix memory fault in the following illegal Fortran:        double precision foo(i)*	illegal: above should be "double precision function foo(i)"        foo = i * 3.2        entry moo(i)        end  Note about ANSI_Libraries (relevant, e.g., to IRIX 4.0.1 and AIX)added to README.  Abort zero divides during constant simplification.Sat Mar 21 01:27:09 EST 1992:  Tweak ckalloc (misc.c) for systems where malloc(0) = 0; this mattersfor subroutines with multiple entry points but no arguments.  Add "struct memblock;" to init.c (irrelevant to most compilers).Wed Mar 25 13:31:05 EST 1992:  Fix bug with IMPLICIT INTEGER*4(...): under -i2 or -I2, the *4 wasignored.Tue May  5 09:53:55 EDT 1992:  Tweaks to README; e.g., ANSI_LIbraries changed to ANSI_Libraries .Wed May  6 23:49:07 EDT 1992  Under -A and -C++, have subroutines return 0 (even if they haveno * arguments).  Adjust libi77 (rsne.c and lread.c) for systems where ungetc is

⌨️ 快捷键说明

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