Patch-ID# 112762-10
Keywords: f95 7.1 s1s8cc sun one studio 8 compiler collection
Synopsis: F95 7.1: Patch for S1S8CC Fortran 95 compiler
Date: Apr/27/2004


Install Requirements: None                      
                      
Solaris Release: 7 8 9

SunOS Release: 5.7 5.8 5.9

Unbundled Product: Sun ONE Studio 8 Compiler Common F95

Unbundled Release: 7.1

Xref: 

Topic: 

Relevant Architectures: sparc

BugId's fixed with this patch: 4533220 4623142 4640719 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 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 4957601 4958158 4961985 4963548 4963553 4963563 4963585 4963593 4966431 4968752 4969827 4970349 4983660 4989300 4992496 4997754 5005716 5006242 5008561

Changes incorporated in this version: 4989300 4992496 4970349 4997754 5006242 5008561 4969827 5005716

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 112763-06 or greater 114801-03 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/libfsu.a
<install_dir>/SUNWspro/prod/lib/libfui.a
<install_dir>/SUNWspro/prod/lib/libfui.fln
<install_dir>/SUNWspro/prod/lib/libp/libfsu.a
<install_dir>/SUNWspro/prod/lib/libp/libfui.a
<install_dir>/SUNWspro/prod/lib/v8plus/libfsu.a
<install_dir>/SUNWspro/prod/lib/v8plus/libp/libfsu.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:

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:  Tuesday, April 27, 2004

