Patch Name: PHSS_13307

Patch Description: s700_800 10.X FORTRAN 90 1.0 cumulative patch

Creation Date: 97/11/24

Post Date:  97/12/19

Hardware Platforms - OS Releases:
	s700: 10.01 10.10 10.20
	s800: 10.01 10.10 10.20

Products:
	FORTRAN 90 B.10.20

Filesets:
	FORTRAN90.FORT90-PRG,B.10.20

Automatic Reboot?: No

Status: General Release

Critical: No

Path Name: /hp-ux_patches/s700_800/10.X/PHSS_13307

Symptoms:
	PHSS_13307:
	1. *Compiler Internal Error* :  : 8901

	PHSS_11736:
	1. at +O3 *Compiler Internal Error* : _start : 6791 Local
	   dataflow: Item not found
	2. compile time is excessive with +O3

	PHSS_10870:
	1.  arrays of characters in structures not behaving
	    correctly.
	2.  f77/f90 incompatible with stat values for array
	    allocation.
	3.  function calls in structure constructors not working.
	4.  core dumps for certain I/O operations
	5.  Transfer() gives wrong value when used in type
	    declaration.
	6.  vector valued equivalenced arrays have dependency
	    problems.
	7.  A(:)=F(A(:)) runtime failure
	8.  where control statement not executed with empty
	    where construct.
	9.  Cray ptr. syntax incorrect
	10. no warning for overlapping initization
	11. infinite loop when linking some codes at +O2
	12. overloaded operators with arrays of structures
	    for operands coredumps at +O2.
	13. can not print parameters variables in DDE.
	14. +O2 error 6355:in procedure _start bit vector
	15. +O2 runtime bus error when passing internal
	    subroutines parameters to external routines.
	16. Fortran I/O error 981: value out of range in numeric
	    read.
	17. f90 pointer to opaque derived types fails.
	18. bus error when comparing character variable to shorter
	    character constant.
	19. +O3 error when using pointer to array type.
	20. error using charater of array slices.
	21. directives not accepting lowercase letters and random
	    white spaces.
	22. use of ENTRY causes internal error 8901.
	23. no debug info for equivanenced variables.
	24. +O2 compiler internal error with use of f90 arrays.
	25. DDE steps to non-executable statements
	26. Data statements do not intialize multidimensional
	    statements correctly.
	27. runtime error at +O2 from nested routines passing two
	    parameters to a function.
	28. Statement function definitions produce a debug
	    statement.
	29. error taking slice of array of structures with
	    characters.
	30. internal error with statement= function.
	31. +O2 out of memeory error(6200)
	32. error with operator overload with pointers to derived
	    types.
	33. incorrect answers at +O2 aliasing module variables in
	    calculations.
	34. seg. fault when using functions in nested routines
	    whose declaration is in parent.
	35. internal error with intrinsic used in nested
	    subroutine but declared in parent.
	36. internal error(8901) with initialized variables in
	    modules.
	37. +O3 Compiler Internal Error: 8901 (266-1506-23)

	38. Count intrinsic wrong answer w/ +autodbl

	39. references to locals or formals of a parent
	    routine mishandled at +O3

	PHSS_8939:
	1. Using DDE, the user can not print the value of any
	  variable which has been equivalanced.
	2. Routines in modules must be referred to as
	   \mod\mod\routine.
	3. DDE starts in the wrong location on a nested
	   program compiled at +O2 -g.
	4.In DDE, the user will see two Critical points for the
	  same source statement.
	5.When a user asks for the value of an aggregate the
	  message "Due to optimization, the value of <var> is
	  unknown for thecurrent location" will appear.
	6.Compiling nested routines generates internal
	  error 6600: aliaser bad id

Defect Description:
	PHSS_13307:
	1. compiler internal error

	PHSS_11736:
	1. compiler internal error
	2. slow algorithm

	PHSS_10870:
	1-39 compiler internal error

	PHSS_8939:
	1. Using DDE, the user can not print the value of any
	  variable which has been equivalanced.
	2. Routines in modules must be referred to as
	   \mod\mod\routine.
	3. DDE starts in the wrong location on a nested
	   program compiled at +O2 -g.
	4.In DDE, the user will see two Critical points for the
	  same source statement.
	5.When a user asks for the value of an aggregate the
	  message "Due to optimization, the value of <var> is
	  unknown for thecurrent location" will appear.
	6.Compiling nested routines generates internal
	  error 6600: aliaser bad id

SR:
	1653223602 1653211227 4701356832 1653219253 5003367318
	5003369272 5003365973 4701356816

Patch Files:
	/opt/fortran90/bin/f90
	/opt/fortran90/lbin/f90com
	/opt/fortran90/lib/nls/msg/C/f90.cat
	/opt/fortran90/lib/nls/msg/C/f90com.cat

what(1) Output:
	/opt/fortran90/bin/f90:
		HP-UX f90 971121 (161422)  B3906BB/B3908BB PHSS_1330
			7 B.10.20.12
		HP FORTRAN 90 compiler version 1.0
		/usr/lib/libc: $Revision: 76.3 $
	/opt/fortran90/lbin/f90com:
		HP F90 1.0 B3906AA/B3908AA B.10.20.12 PHSS_13307
		HP-UX SLLIC/OPTIMIZER UX.10.20.550 (DAVIS): 07/16/97
		Ucode Code Generator - UX10.20.51 (PACG_UX10.MULTI_B
			L24)
		HP-UX f90com 971124 (102940)  B3906BB/B3908BB PHSS_1
			3307 B.10.20.12
		Copyright (c) 1993-1996 EPCL. All Rights Reserved.
		EPC Fortran-90 Version FFE10.3(S) HP:030397:103541
		High Level Optimizer - UX.10.30.970709 (UX10.MULTI.F
			90) [-DHLO_RELEASE +O3] - 21-Nov-97.15:48
		/usr/lib/libc: $Revision: 76.3 $
	/opt/fortran90/lib/nls/msg/C/f90com.cat:
		HP-UX f90 971121 (161422)  B3906BB/B3908BB PHSS_1330
			7 B.10.20.12
		HP FORTRAN 90 compiler version 1.0
		/usr/lib/libc: $Revision: 76.3 $
	/opt/fortran90/lib/nls/msg/C/f90.cat:
		HP-UX f90 971121 (161422)  B3906BB/B3908BB PHSS_1330
			7 B.10.20.12
		HP FORTRAN 90 compiler version 1.0
		/usr/lib/libc: $Revision: 76.3 $

cksum(1) Output:
	1598823921 324836 /opt/fortran90/bin/f90
	2467400905 9325936 /opt/fortran90/lbin/f90com
	2984869649 11207 /opt/fortran90/lib/nls/msg/C/f90.cat
	3174441910 87881 /opt/fortran90/lib/nls/msg/C/f90com.cat

Patch Conflicts: None

Patch Dependencies: None

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHSS_8939 PHSS_10870 PHSS_11736

Equivalent Patches: None

Patch Package Size: 9580 KBytes

Installation Instructions:
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHSS_13307

	5a. For a standalone system, run swinstall to install the
	    patch:

		swinstall -x autoreboot=true -x match_target=true \
			-s /tmp/PHSS_13307.depot

	5b. For a homogeneous NFS Diskless cluster run swcluster on the
	    server to install the patch on the server and the clients:

		swcluster -i -b

	    This will invoke swcluster in the interactive mode and
	    force all clients to be shut down.

	    WARNING: All cluster clients must be shut down prior to the
		     patch installation.  Installing the patch while the
		     clients are booted is unsupported and can lead to
		     serious problems.

	    The swcluster command will invoke an swinstall session in which
	    you must specify:

		alternate root path  -  default is /export/shared_root/OS_700
		source depot path    -  /tmp/PHSS_13307.depot

	    To complete the installation, select the patch by choosing
	    "Actions -> Match What Target Has" and then "Actions -> Install"
	    from the Menubar.

	5c. For a heterogeneous NFS Diskless cluster:

		- run swinstall on the server as in step 5a to install
		  the patch on the cluster server.

		- run swcluster on the server as in step 5b to install
		  the patch on the cluster clients.

	By default swinstall will archive the original software in
	/var/adm/sw/patch/PHSS_13307.  If you do not wish to retain a
	copy of the original software, you can create an empty file
	named /var/adm/sw/patch/PATCH_NOSAVE.

	Warning: If this file exists when a patch is installed, the
	         patch cannot be deinstalled.  Please be careful
		 when using this feature.

	It is recommended that you move the PHSS_13307.text file to
	/var/adm/sw/patch for future reference.

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHSS_13307.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None