Patch-ID# 101915-10
Keywords: y2000 FORTRAN77 F77 SC3.0.1 SPARCompiler
Synopsis: FORTRAN 77 3.0.1: Patch for FORTRAN 77 (f77) 3.0.1 compiler
Date: Oct/06/99

Solaris Release: 1.0 1.0.1 1.1 1.1.1A 1.1.2

SunOS Release: 4.1.1 4.1.2 4.1.3 4.1.3_U1A 4.1.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 1175935 1171264 1183273 1042420 1186005 1199841 1207772 1212073 1225498 1218889 1254811 4039702 4198681 4251427

Changes incorporated in this version: 4198681 4251427

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch: 

Patches required with this patch:

Obsoleted by: 

Files included with this patch:

<install_dir>/SC3.0.1patch/READMEs/XCM.ps
<install_dir>/SC3.0.1patch/READMEs/fortran
<install_dir>/SC3.0.1patch/READMEs/pascal
<install_dir>/SC3.0.1patch/READMEs/runtime.libraries
<install_dir>/SC3.0.1patch/bin/as
<install_dir>/SC3.0.1patch/bin/cg
<install_dir>/SC3.0.1patch/bin/f77
<install_dir>/SC3.0.1patch/bin/f77pass0
<install_dir>/SC3.0.1patch/bin/f77pass1
<install_dir>/SC3.0.1patch/bin/fllib.fln
<install_dir>/SC3.0.1patch/bin/iropt
<install_dir>/SC3.0.1patch/bin/pc
<install_dir>/SC3.0.1patch/bin/pc0
<install_dir>/SC3.0.1patch/bin/version
<install_dir>/SC3.0.1patch/include/f77/f77_floatingpoint.h
<install_dir>/SC3.0.1patch/lib/libC.a
<install_dir>/SC3.0.1patch/lib/libC.sa.5.0
<install_dir>/SC3.0.1patch/lib/libC.so.5.0
<install_dir>/SC3.0.1patch/lib/libC_p.a
<install_dir>/SC3.0.1patch/lib/libF77.a
<install_dir>/SC3.0.1patch/lib/libF77.sa.1.4.1
<install_dir>/SC3.0.1patch/lib/libF77.sa.2.1
<install_dir>/SC3.0.1patch/lib/libF77.so.1.4.1
<install_dir>/SC3.0.1patch/lib/libF77.so.2.1
<install_dir>/SC3.0.1patch/lib/libF77_p.a
<install_dir>/SC3.0.1patch/lib/libM77.a
<install_dir>/SC3.0.1patch/lib/libM77.so.2.0
<install_dir>/SC3.0.1patch/lib/libM77_p.a
<install_dir>/SC3.0.1patch/lib/libV77.a
<install_dir>/SC3.0.1patch/lib/libV77.so.1.1
<install_dir>/SC3.0.1patch/lib/libV77.so.2.0
<install_dir>/SC3.0.1patch/lib/libV77_p.a
<install_dir>/SC3.0.1patch/lib/libcomplex.a
<install_dir>/SC3.0.1patch/lib/libcomplex.so.5.0
<install_dir>/SC3.0.1patch/lib/libcomplex_p.a
<install_dir>/SC3.0.1patch/lib/libpc.a
<install_dir>/SC3.0.1patch/lib/libpc.sa.3.0
<install_dir>/SC3.0.1patch/lib/libpc.so.3.0
<install_dir>/SC3.0.1patch/lib/libpc_p.a
<install_dir>/SC3.0.1patch/lib/libpfc.so.1.1
<install_dir>/SC3.0.1patch/lib/librwtool.a
<install_dir>/SC3.0.1patch/lib/librwtool_dbg.a
<install_dir>/SC3.0.1patch/lib/librwtool_p.a
<install_dir>/SC3.0.1patch/lib/libtask.a
<install_dir>/SC3.0.1patch/lib/libtask_p.a
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_ccfe.srccat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_driver.cat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_driver.srccat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_f77pass1.cat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_f77pass1.srccat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libC.srccat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libcomplex.srccat
<install_dir>/SC3.0.1patch/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libtask.srccat
<install_dir>/SC3.0.1patch/lib/misalign/libF77.a
<install_dir>/SC3.0.1patch/lib/misalign/libF77.sa.1.4.1
<install_dir>/SC3.0.1patch/lib/misalign/libF77.sa.2.1
<install_dir>/SC3.0.1patch/lib/misalign/libF77.so.1.4.1
<install_dir>/SC3.0.1patch/lib/misalign/libF77.so.2.1
<install_dir>/SC3.0.1patch/lib/misalign/libF77_p.a
<install_dir>/SC3.0.1patch/lib/misalign/libM77.a
<install_dir>/SC3.0.1patch/lib/misalign/libM77.so.2.0
<install_dir>/SC3.0.1patch/lib/misalign/libM77_p.a
<install_dir>/SC3.0.1patch/lib/misalign/libV77.a
<install_dir>/SC3.0.1patch/lib/misalign/libV77.so.1.1
<install_dir>/SC3.0.1patch/lib/misalign/libV77.so.2.0
<install_dir>/SC3.0.1patch/lib/misalign/libV77_p.a
<install_dir>/SC3.0.1patch/man/man1/f77.1
<install_dir>/SC3.0.1patch/man/man3/date.3f
<install_dir>/SC3.0.1patch/man/man3/date_and_time.3f
<install_dir>/SC3.0.1patch/man/man3/idate.3f
<install_dir>/SC3.0.1patch/src/ioinit.f

Problem Description: 

4198681 Y2K problem in function date(3F).
4251427 SC3.0.1 FORTRAN patch 101915-09 make incorrect symbolic link under _dir/lib

(from 101915-09)
4039702 library routine IDATE returns incorrect year for 2001 year.

(from 101915-08)
1254811	f77 4.0 -Xlist option does not complete; stops with too many errors. 

(from 101915-07)
1225498 No support for DNS-based domains in SCHOLARpass licensing 
1218889	domain licensing doesn't work w/DNS; NIS is required.
	Earlier versions of this product implemented domain licensing
	such that NIS/NIS+ was required; DNS was not used.  This was
	changed in the Solaris 2.x version of the product in the
	Developer Products 4.0 release, but was not changed in the
	Solaris 1.x version.  No new licenses are required with this
	patch.  Providing this enhancement only affects those sites
	with domain (ScholarPass or GoldPass) licenses.
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.
1199841	VERIFICATION FAILED: too many lines in subprogram using -Xlist
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.
1169908 f77pass1 fatal error when a constant is passed to IZEXT or JZEXT.
1171109 SC3.0's C compiler with -O2 option causes assertion failed error.
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 I/O doesn't work with reads of large buffers.
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.
1042420	Allow "NaN" to be read as a floating point number.
1186005 cg sometimes dumps core under -O3.


Patch Installation Instructions: 
-------------------------------- 
Extract the patch-tarfile in /usr/lang (or wherever the product is installed)
Other specific or unique installation instructions may also be
necessary and should be described below.


Special Install Instructions: 
----------------------------- 
Instructions to install patch using "installpatch"
--------------------------------------------------
1.  Become super-user.

2.  Apply the patch by typing:

        <dir>/<patchnum>/installpatch

    where <dir> is the directory containing the patch.
