Patch-ID# 101911-11 Keywords: y2000 F77 3.0.1 SC3.0.1 FORTRAN77 Synopsis: SPARCompiler F77 3.0.1: Patch for FORTRAN 77 3.0.1 Date: Mar/28/00 Solaris Release: 2.2 2.3 2.4 SunOS Release: 5.2 5.3 5.4 Unbundled Product: SPARCompiler FORTRAN 77 Unbundled Release: 3.0.1 Relevant Architectures: sparc BugId's fixed with this patch: 1144711 1178425 1171109 1173308 1169908 1175397 1187953 1183273 1171264 1175935 1186005 1042420 1173498 1199869 1202273 1199841 1207772 1212073 1220473 1233284 4198681 Changes incorporated in this version: 4198681 Patches accumulated and obsoleted by this patch: 101934 Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /SUNWspro/SC3.0.1/lib/libF77.a /SUNWspro/SC3.0.1/lib/libF77.so.2 /SUNWspro/SC3.0.1/lib/libF77_mt.a /SUNWspro/SC3.0.1/lib/libF77_mt.so.2 /SUNWspro/SC3.0.1/lib/libM77.a /SUNWspro/SC3.0.1/lib/libM77.so.2 /SUNWspro/SC3.0.1/lib/libV77.a /SUNWspro/SC3.0.1/lib/libV77.so.2 /SUNWspro/SC3.0.1/lib/libp/libF77.a /SUNWspro/SC3.0.1/lib/libp/libF77_mt.a /SUNWspro/SC3.0.1/lib/libp/libM77.a /SUNWspro/SC3.0.1/lib/libp/libV77.a /SUNWspro/SC3.0.1/bin/f77pass0 /SUNWspro/SC3.0.1/bin/f77pass1 /SUNWspro/SC3.0.1/bin/cg /SUNWspro/SC3.0.1/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_f77pass1.srccat /SUNWspro/SC3.0.1/man/man3f/date.3f /SUNWspro/SC3.0.1/man/man3f/date_and_time.3f /SUNWspro/SC3.0.1/man/man3f/idate.3f Problem Description: 4198681 Y2K problem in function date(3F) (from 101911-10) 1220473 fix error in libF77.so.2 under the option of -stop_status (-Qoption). 1233284 fix an error in evaluation of a dimension bound expression which contains a function or array element reference. (from 101911-08) 1212073 This is an RFE which requests the support for the extension of alternate return. It allows the RETURN statement to always return an integer value even when no alternate return specifier is listed in the SUBROUTINE statement. This is implemented as an undocumented Q-option. With this enhancement, in the statement RETURN "n", the value of "n" will always be returned to the calling routine in the manner consistent with the current SPARC ABI C int return values. (from 101911-07) 1207772 Wrong value returned by complex*32 function RFE This patch implements the compiler option "-copyargs" which makes a copy of constant arguments into read- write memory before making a subroutine call. The default is to keep constant arguments in read-only memory. 1173498 f77pass0 internal error for duplicate program and function 1199869 Q edit descriptor problems 1202273 f77 core dumps with: Assertion failed: alignment > 0, file ../src/ir_misc.c, ... 1199841 VERIFICATION FAILED: too many lines in subprogram using -Xlist 1175935 Compiler is slow in presence of many EQUIVALENCEs. 1171264 Compiler takes looong time in presence of many EQUIVALENCEs. 1183273 Permit automatic variables to be equivalenced 1187953 Fortran must use ild instead of ld under certain circumstances. 1169908 f77pass1 fatal error when pass constant to IZEXT or JZEXT 1171109 SC3.0's c compiler with -O2 option causes assertion failed error. 1186005 cg dumps core under -O3 or higher when -misalign used in some cases. 1173308 assertion failure in code generator compiling simple f77 3.0 prog with -O 1178425 Passing array within struct without including subscripts sometimes passes wrong address. 1175397 Using FORTRAN optimization produces incorrect results 1144711 Unformatted magnetic tape IO doesn't work with reads of large buffers. 1042420 Fortran IO library does not read "NaN" properly. This patch implements the compiler options "-ext_names=plain" and "-ext_names=underscores" (the default) which will be fully documented in the next major release of the compiler (4.0). Using the option "-ext_names=plain", trailing underscores are not appended to the linker names of Sun FORTRAN 77 generated global symbols. This option is not recommended for use with this patch release, because debugging support will not be provided until the next major release of the debugger. Patch Installation Instructions: -------------------------------- Refer to the Install.info file for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below as special instructions.