OBSOLETE Patch-ID# 112762-16

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: f95 7.1 s1s8cc sun one studio 8 compiler collection
Synopsis: Obsoleted by: 112762-17 F95 7.1: Patch for S1S8CC Fortran 95 compiler
Date: Dec/23/2005


Install Requirements: NA                      
                      
Solaris Release: 7 8 9 10

SunOS Release: 5.7 5.8 5.9 5.10

Unbundled Product: Sun ONE Studio 8 Compiler Common F95

Unbundled Release: N/A

Xref: 

Topic: 

Relevant Architectures: sparc

BugId's fixed with this patch: 4330817 4533220 4623142 4640719 4680235 4712715 4776699 4779452 4797986 4803908 4807589 4809125 4809847 4809848 4809890 4810487 4811458 4811871 4812510 4813141 4813211 4813236 4813287 4814024 4815706 4816696 4816743 4817200 4817207 4817209 4817232 4817249 4817261 4818181 4818748 4819430 4821880 4822282 4823261 4823888 4824143 4824770 4825483 4826116 4826169 4826238 4828261 4829182 4830322 4831444 4831528 4831999 4832594 4832604 4834152 4834518 4834595 4835033 4835287 4835305 4835313 4835350 4835648 4836346 4836706 4837028 4837597 4838034 4839227 4839243 4841738 4843731 4847743 4848808 4849915 4850614 4853608 4857234 4858568 4860689 4863682 4869058 4872460 4875386 4879280 4879289 4879302 4879329 4879949 4889510 4890630 4894802 4901139 4902119 4902849 4902870 4902881 4905180 4917189 4922603 4923390 4923500 4923940 4926069 4926501 4926507 4926649 4928704 4931524 4931678 4931759 4932096 4935556 4937880 4940289 4943963 4946560 4947636 4948329 4949116 4951993 4953714 4957601 4958158 4961980 4961985 4963548 4963553 4963563 4963585 4963593 4966431 4968752 4969827 4970349 4983660 4989300 4991388 4992496 4997754 5005716 5006242 5008561 5016922 5017162 5020825 5021459 5053940 5053964 5053970 5059483 5069085 5072492 5088000 5094671 5109618 6175507 6187051 6190310 6191024 6209470 6228779 6232434 6234293 6235404 6243418 6249782 6250325 6253147 6253938 6257384 6260482 6296263 6301497 6307684 6334440

Changes incorporated in this version: 6296263 6307684 6334440

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 112763-19 114801-08 (or greater)

Obsoleted by: 

Files included with this patch: 

<install_dir>/SUNWspro/prod/bin/f90
<install_dir>/SUNWspro/prod/bin/f90.f77
<install_dir>/SUNWspro/prod/bin/f90comp
<install_dir>/SUNWspro/prod/bin/f90comp_gpc
<install_dir>/SUNWspro/prod/bin/f90list_gpc
<install_dir>/SUNWspro/prod/bin/fdumpmod
<install_dir>/SUNWspro/prod/bin/fpp
<install_dir>/SUNWspro/prod/bin/ube_mplint
<install_dir>/SUNWspro/prod/lib/lib_I_fw.so
<install_dir>/SUNWspro/prod/lib/libf77compat.a
<install_dir>/SUNWspro/prod/lib/libfai.a
<install_dir>/SUNWspro/prod/lib/libfai2.a
<install_dir>/SUNWspro/prod/lib/libfsu.a
<install_dir>/SUNWspro/prod/lib/libfui.a
<install_dir>/SUNWspro/prod/lib/libfui.fln
<install_dir>/SUNWspro/prod/lib/libp/libf77compat.a
<install_dir>/SUNWspro/prod/lib/libp/libfai.a
<install_dir>/SUNWspro/prod/lib/libp/libfai2.a
<install_dir>/SUNWspro/prod/lib/libp/libfsu.a
<install_dir>/SUNWspro/prod/lib/libp/libfui.a
<install_dir>/SUNWspro/prod/lib/v8plus/libfai.a
<install_dir>/SUNWspro/prod/lib/v8plus/libfai2.a
<install_dir>/SUNWspro/prod/lib/v8plus/libfsu.a
<install_dir>/SUNWspro/prod/lib/v8plus/libp/libfai.a
<install_dir>/SUNWspro/prod/lib/v8plus/libp/libfsu.a
<install_dir>/SUNWspro/prod/lib/v8plusb/libfai2.a
<install_dir>/SUNWspro/prod/lib/v8plusb/libp/libfai2.a
<install_dir>/SUNWspro/prod/lib/v9/libf77compat.a
<install_dir>/SUNWspro/prod/lib/v9/libfai.a
<install_dir>/SUNWspro/prod/lib/v9/libfai2.a
<install_dir>/SUNWspro/prod/lib/v9/libfsu.a
<install_dir>/SUNWspro/prod/lib/v9/libfui.a
<install_dir>/SUNWspro/prod/lib/v9/libfui.fln

Problem Description:

6296263 f90 7.1: xknown_lib=intrinsics gives incorrect warning message with < -xO2
6307684 S1S8 f90 asserts in phase CanonArraySyntax
6334440 f77 objects from Forte 6, linked with Studio 8, will crash
 
(from 112762-15)
4680235 -xknown_lib results in Internal Error, code=fw-assert-einln-691	
4850614 Assertion failed: false, file compiler/phases/fwoutput/fwoutput_ast.cpp, line 20
4951993 V9, -O2, -xknown_lib=blas : Internal Error, code=fw-interface-cexp1-234
5016922 -xknown_lib results in f90: Internal Error, code=fw-interface-cexp1-234
6175507 f90: Fails with INTERNAL COMPILER ERROR: FWLL_address_vector on Solaris V7 only
6253147 f90 7.1 Internal error,code=fw-interface-iexp1-233, last src=broke.f90:4
6253938 f90 7.1 Internal error, phase ConcretizeProcs, No Visitor for CountIntrinsicExpr
6257384 f90 8.0 silent data corruption on non-optimized code
6260482 blinking failure with -sb
6301497 mutex hang with fortran 77 objects linked by later compiler releases
 
(from 112762-14)
5072492 f90 7.0/7.1/8.0: Closing unit in serial code generates error 1147.
6209470 f95: structure data fields not accessed correctly.
6228779 f95: -O2 generates an incorrect error message
6232434 compatibility problem with f77 compiled binary linked to an f95 compiled binary
6234293 f90comp assertion code=fw-interface-ctyp1-498
6235404 -xtypemap=integer:64 and pointers in structures
6243418 module search order out-of-order
6249782 bad Cray IR for bounds checking
6250325 Fortan compile take much longer in Sun Studio 8 compiler than Forte Developer or Sun Studio 10
 
(from 112762-13)
6187051 f77 gives different results on constant integer promotion, starting with Studio 7
6190310 F77 problem with structure equivalences post Forte Developer 6 update 2 compilers ( 8 & 9 )
6191024 f90 in f77 compat mode with -xhasc=no crashes : Line = 1, Column = 1: Interrupt: Segmentation Fault
 
(from 112762-12)
5053940 Regression in f90comp 7.0, and later versions (IL_ARG_DESC_IDX variant problem)
5053964 Regression in f90comp 7.0, and later versions (optimization causes looping)
5053970 Regression in f90comp 7.0, and later versions (f90: Internal Error)
5059483 Compiler internal error (assertion  failed in ../src/module.c, line 23787)
5069085 error when compiling INTERNAL: Bad IR in final_arg_work
5109618 Studio 8 object file fails to link properly with Studio 9 f90
5088000 f90comp 7.0 and 7.1 -fast fails with "INTERNAL: Interrupt: Segmentation Fault"
4961980 INTERNAL error on the concatenation of a result of 'trim' intrinsic
5094671 f90 7.1: Use of phoenix cause SIGSEGV in _free_unlocked
4991388 application dumps core with SIGFPE in dss_get_cpu_info
 
(from 112762-11)
5017162 f77 compilation fails with recursive looping using S1S7/S1S8
5021459 Fortran program crashes with segv, dumps core, when compiled with -xO2 optimize
5020825 DATA statement doesn't take into account integer*8
4330817 diagnostic message with incorrect length for REAL
4953714 OMP-F: code disappears when using -xO4
 
(from 112762-10)
4989300 f90 7.1: compiling with -O4 and above brakes loop/if construct.
4992496 CHARACTER*(*) allocatable array not allowed
4970349 Entry pointer character array result causes FW Interface Error
4997754 Wrong result of the function with allocatable entry under -O2 and higher.
5006242 f90 7.0 -O3 Assertion failed: _maker->begins_a_node(first_statement)
5008561 f90: With -O2, wrong code path is entered at runtime.
4969827 INTERNAL: Attribute entry 0 has a variant problem with field GAP_PGM_UNIT
5005716 Rainier f90comp produces INTERNAL COMPILER ERROR
 
(from 112762-09)
4983660 Patch binaries in T112762-08 are identical to 112762-07
 
(from 112762-08)
4966431 Fortran 95 7.1 compilation fails when iand intrinsic is used on a byte value
4968752 Continuation lines not handled correctly by f90 preprocessor
4640719 8-byte bit intrinsic specifics cause internal error
 
(from 112762-07)
4957601 F90_HPF test contain fails intermittently.
4958158 S1S8 f90 asserts with scope_depth >=0
4849915 OMP: wrong name of critical section issued
4940289 -XlistMP: name of variable is wrong, PRIVATE variable 'MAIN' in OMP messages
4937880 -XlistMP: missed allocate(a(10),stat=ist) analysis for stat= specifier
4818748 GPC-OMP: treat variable(s) as shared on 1st do statement excepting the do-loop v
4961985 Patch T112762-06: regression on GPC_OMP/gpc_omp_1_08 XOMP
4712715 f95 derived variable is deallocated in error before main pgm is done with it
4869058 Generic Interface bug in module USE
4963548 f90 7.1: Assertion at_handle_table[component_idx].tag == COMPONENT_TAG
4963553 f90 7.1: f90comp dumps core (Segmentation Fault)
4963563 f90 7.1: Assertion OPND_FLD(operand) != IL_Tbl_Idx
4963585 f90 7.1: Assertion failed: valid_expression, file ../src/module.c
4963593 f90 7.1: Assertion failed: 0, file ../src/s_intr_mod.c, line 715
 
(from 112762-06)
4943963 f95 7.1: Wrong bounds specification expression error.
4948329 f95 7.1 T112762-05 fails with Assertion: "file ../srcfw/FWStruct_Opr.c, line 68"
4901139 wrong ASSOCIATED for char pointer with -xtypemap=integer:64
4815706 Allocatable components cause Run-time Seg.Fault.
4949116 f90 7.1 T112762-05 is unable to compile long lines from macro expansion (fpp)
4947636 Assertion failed: lld > 0 && lld < 2147483647, file ../srcfw/FWAssociated.c
4946560 Fixing -D__SUNPRO_F95 and -D__SUNPRO_F90 in K2 patch
4809890 "only" parameter not taking arguments as it should
 
(from 112762-05)
4818181 f90 7.0 asserts with -02 or higher
4841738 module processing chokes on LEN_TRIM in declaration.
4879302 GPC incorrectly reports unused variable
4879329 "END INTERFACE OPERATOR(/)" gives syntax error; "END INTERFACE" works
4879949 Compiler reports ABS no longer in Fortran standard, latest ANSI doc says it is
4922603 F90 7.1: -O3 and above breaks some loops.
4923940 ANSYS Fortran routine produces NaN with -O4
4926069 f90 internal error when compiling with "ext_names=plain" and "x02" flags
4926501 MERGE generates wrong results
4926507 Spurious RUI
4926649 f95 only uses/returns 8 instead of 16 bytes for x**y calculations.
4928704 f90: Internal Error, code=fw-interface-iexp1-827
4931524 F95 7.1: Dummy argument 'N' must not appear in a specification expression.
4931678 fpp incorrectly transfers a long line with ending comment
4931759 f90 internal error, code=fw-interface-iexp1-1102
4935556 Assertion error compiling f90 programs
4923500 f90 7.1 misunderstands nested OpenMP directives
4932096 S1S8 f90 Assertion failed: at_handle_table[dt_idx].tag == DT_TAG
4872460 Assertion failed: (flags & ANY_TYPE) == INTERNAL, cray_convert_io.cpp, line 577
4923390 Z DATA syntax not recognized with f95
 
(from 112762-04)
4839227 Wrong code generated with -fast, needs -O1 -nodepend in addition
4843731 SEGV during execution when compiled with -fast, ok if -nodepend -O1 added
4858568 QS: LS-Dyna: LD_LIBRARY_PATH=.../prod/lib or -Bstatic breaks OpenMP
4879280 Phoenix causes RTC error:  RUA
4879289 Comiler generates duplicate frees?
4889510 S1S8 libraries are not compatable with FD7 libraries
4902119 Cannot assign character parameter constant to integer
4902849 Cannot recover from pragma-like comment
4902870 Cannot do ISHFT on BYTE type
4902881 Allowing hex constants as generic intrinsic arguments
4917189 Fortran 95 7.1 gives strange error message on correct code.
 
(from 112762-03)
4905180 passing wrong subarrays of dyn alloc'd arrays to subroutine
4894802 wrong results with -xO3 or higher
4860689 QS: fatal runtime error with -xprofile=collect -mt after dlclose()
 
(from 112762-02)
4890630 OpenMP-F: f90 assertion code=fw-assert-iir2-1001 with -xopenmp=noopt -g
4839243 Assertion failure in at_handle_table
4863682 Incorrect result on derived type with allocatable component under -O4.
4875386 f90 7.0: call to ttynam breaks formated write statement.
 
(from 112762-01)
4533220 Give error for calls to function returning Vax structure.
4623142 Constant propagation through subroutine
4776699 Constant propagation in IF construct with .AND.
4779452 Incorrect handling of VOLATILE attribute.
4797986 Redefinition of an intrinsic function name
4803908 Regression in interoperability with C after K2 EA1
4807589 Assertion failed: ScopeTab::inst()->cur_scope()->is_ComponentScope()
4809125 VFE: -xarch=v9 -O4 and format(//<1>a///)  create problem to close statement
4809847 logical(kind=1) not working in case select statement
4809848 incorrect messages about variable in common with -Xlistv3
4810487 incorrect message about interface of subroutine
4811458 internal compiler error regression
4811871 Internal GPC error on interface in module
4812510 Internal GPC error on INTERFACE OPERATOR
4813141 incorrect messages "statement cannot be reached" after IF statement
4813211 invalid address alignment on fortran structure with -O2 -aligncommon=4 and compl
4813236 pointer attribute cannot be a reason of mismatching argument types
4813287 OMP-F: -xopenmp=noopt -xO3 - critical section deleted from code
4814024 wrong cross reference for module information
4816696 OMP-F: can't pass procedure as an argument in a default(private) scope
4816743 Assertion failuer inside f90comp (phase FWOutput)
4817200 VFE: string literals disappeared from format
4817207 strange msg  "ERR  #416:  argument #1 is ERROR, but dummy argument is record"
4817209 wrong diagnostics for pointers
4817232 wrong diagnostics for interface of subroutine
4817249 VFE: __f95_Slash/__f95_sfr_Slash/skip_n_records/getrec/.../abort
4817261 wrong msg "#315: label "4uexit1" declared but never used"
4819430 OMP - critical section code disappears with -O4 putting program in infinite loop
4821880 INTERNAL error on a variable declaration with -f77
4822282 f95 -C : INTERNAL: Intrinsic operator encntrd in const constr that has no folder
4823261 f90: INTERNAL: Interrupt: Abort if env.var. SUNPRO_DEPENDENCIES is set
4823888 f90/f95 -O2 option causes Assertion - INTERNAL: Interrupt: Abort
4824143 No diagnostics "statement cannot be reached"
4824770 for elemental routine, both array and scalar are allowed as actual arg
4825483 wrong msg  ERR  #221:  assignment to do-loop counter "i"
4826116 wrong msg "WAR  #120:  subscript expression on "a" out of bounds"
4826169 GPC should warn when statement in logical IF cannot be reached
4826238 incorrect msg about inconsistent usage of dummy argument
4828261 incorrect diagnostics when statement cannot be reached
4829182 Code fails to execute with optimization level higher than -xO2
4830322 incorrect msg "ERR  #323:  argument #2 is variable, but dummy argument is value"
4831444 unused ALLOCATABLE SAVE variables cause Bus Error with -O3 -g
4831528 Do not inline __f95_signf, __f95_sign, __f95_signl
4831999 Unexpected form of expression (0) in FWlinear_type; Assertion failed: 0, file ..
4832594 unnecessary multiple  messages for entry
4832604 wrong  messages for library routines
4834152 Accept -xassume_control=%all
4834518 f90: Assertion failed -- ATD_CLASS(idx)
4834595 f90comp source compilation failures when -O2 or greater optimization is used
4835033 INTERNAL: Attribute entry 636 has a variant problem with field ATD_PURE
4835287 non-dead contained function call deleted
4835305 Boolean cannot be used with logical in .and. operation
4835313 MOD() does not take hex constant as arguments
4835350 Cannot have dimension spec after *len spec for structure/derived type components
4835648 Assertion error printing .not. integer
4836346 bad type table entries
4836706 incorrect alias information for PRIVATE MODULE POINTERS
4837028 Logicals not allowed for intrinsics requiring integers under -f77=logical
4837597 -f77=backslash swallows extra characters for double backslashes
4838034 FD7 Fortran app built with -stackvar crashes with SIGBUS
4847743 f90 matmul performance on matrix times vector is very bad
4848808 Breakpoints associated with wrong line.
4853608 K2 patch: VAX structures not debuggable
4857234 QS: regression in statement function

Patch Installation Instructions:
--------------------------------
For Solaris 7-9 releases, refer to the man pages for instructions on
using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
        example# patchadd /var/spool/patch/106326-01
 
The following example removes a patch from a standalone system:
 
        example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
none.

README -- Last modified date:  Wednesday, May 10, 2006

