Patch-ID# 109505-11 Keywords: common compiler backend iropt cg libmtsk WS6U1 Synopsis: Compiler Common 6.1: Patch C 5.2, C++ 5.2, F77 5.2, F90 6.1 Date: Aug/12/2002 Install Requirements: See Special Install Instructions Solaris Release: 2.6 7 8 SunOS Release: 5.6 5.7 5.8 Unbundled Product: Compiler Common NOTE: C, C++, FORTRAN 77, FORTRAN 90 Unbundled Release: 6.1 Xref: Topic: Relevant Architectures: sparc BugId's fixed with this patch: 4329395 4350126 4350127 4350134 4350135 4350921 4350930 4356243 4356406 4357137 4360952 4361127 4361621 4361847 4362984 4363736 4363782 4364978 4365454 4365542 4366769 4367585 4368062 4368486 4368603 4369216 4371220 4372564 4373233 4373907 4374443 4375005 4377798 4379110 4379770 4383668 4383851 4389215 4389450 4389820 4389823 4393133 4393860 4393992 4394498 4397966 4398995 4400199 4401523 4401548 4404978 4407102 4408183 4408602 4409396 4409796 4411865 4412156 4413378 4414057 4418147 4421262 4421648 4422494 4424106 4425718 4425879 4427827 4430101 4430154 4430576 4431279 4432032 4434045 4435680 4437673 4445633 4447289 4448974 4449050 4453514 4454546 4454904 4462118 4464592 4467991 4469897 4473520 4474003 4479344 4484744 4485277 4496988 4497625 4554603 4558804 4665841 4712238 Changes incorporated in this version: 4453514 4665841 4712238 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: /SUNWspro/WS6U1/bin/cg /SUNWspro/WS6U1/bin/fpversion /SUNWspro/WS6U1/bin/iropt /SUNWspro/WS6U1/bin/postopt /SUNWspro/WS6U1/lib/CCrti.o /SUNWspro/WS6U1/lib/CCrtn.o /SUNWspro/WS6U1/lib/cg/model_cg_super2.so.3 /SUNWspro/WS6U1/lib/cg/model_cg_ultra.so.3 /SUNWspro/WS6U1/lib/cg/model_cg_ultra3.so.3 /SUNWspro/WS6U1/lib/crti.o /SUNWspro/WS6U1/lib/crtn.o /SUNWspro/WS6U1/lib/crtnobjc.o /SUNWspro/WS6U1/lib/crtnobjd.o /SUNWspro/WS6U1/lib/libmtsk.a /SUNWspro/WS6U1/lib/v7/libmvec.a /SUNWspro/WS6U1/lib/v7/libmvec_mt.a /SUNWspro/WS6U1/lib/v7/libp/libmvec.a /SUNWspro/WS6U1/lib/v7/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v8/libmvec.a /SUNWspro/WS6U1/lib/v8/libmvec_mt.a /SUNWspro/WS6U1/lib/v8/libp/libmvec.a /SUNWspro/WS6U1/lib/v8/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v8plus/libmvec.a /SUNWspro/WS6U1/lib/v8plus/libmvec_mt.a /SUNWspro/WS6U1/lib/v8plus/libp/libmvec.a /SUNWspro/WS6U1/lib/v8plus/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v8plusa/libmvec.a /SUNWspro/WS6U1/lib/v8plusa/libmvec_mt.a /SUNWspro/WS6U1/lib/v8plusa/libp/libmvec.a /SUNWspro/WS6U1/lib/v8plusa/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v8plusb/libmvec.a /SUNWspro/WS6U1/lib/v8plusb/libmvec_mt.a /SUNWspro/WS6U1/lib/v8plusb/libp/libmvec.a /SUNWspro/WS6U1/lib/v8plusb/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v9/CCrti.o /SUNWspro/WS6U1/lib/v9/CCrtn.o /SUNWspro/WS6U1/lib/v9/crti.o /SUNWspro/WS6U1/lib/v9/crtn.o /SUNWspro/WS6U1/lib/v9/crtnobjc.o /SUNWspro/WS6U1/lib/v9/crtnobjd.o /SUNWspro/WS6U1/lib/v9/libmtsk.a /SUNWspro/WS6U1/lib/v9/libmvec.a /SUNWspro/WS6U1/lib/v9/libmvec_mt.a /SUNWspro/WS6U1/lib/v9/libp/libmvec.a /SUNWspro/WS6U1/lib/v9/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v9a/libmvec.a /SUNWspro/WS6U1/lib/v9a/libmvec_mt.a /SUNWspro/WS6U1/lib/v9a/libp/libmvec.a /SUNWspro/WS6U1/lib/v9a/libp/libmvec_mt.a /SUNWspro/WS6U1/lib/v9b/libmvec.a /SUNWspro/WS6U1/lib/v9b/libmvec_mt.a /SUNWspro/WS6U1/lib/v9b/libp/libmvec.a /SUNWspro/WS6U1/lib/v9b/libp/libmvec_mt.a Problem Description: 4453514 fortran test fails with a segmentation fault. 4665841 bad xO3 optimization involving arrays and post-loop compound assignment 4712238 assertion error when using -xO2 and asm inlining (from 109505-10) 4497625 FD6u1 iropt produces wrong sparcv9 code resulting in a Pro/E regression failure 4496988 Iropt failed due to "too many files opened" w -xcrossfile -xparallel -xO4 4554603 C++ source code hangs when compiled with optimisation 4558804 Using -xO2 with f77 generate bad assembly code (from 109505-09) 4464592 cg error - location counter not on word boundary 4485277 Optimization changes __fsr_init_value type from NOTY to OBJT 4479344 cg assertion failure: binary_fmt: source/dest not identical in cmov 4474003 Compiler Common 6.1 Patch 109505-06 optimizer produces wrong code 4469897 crt*.o symbol references performance hog for opening many *.so modules 4484744 use of atexit in crti.o breaks kernel build (from 109505-08) 4368486 benchmark 126.gcc dumps core 4379110 Compiler and assembler NOT handling arrays larger than (2**31) entries correctly 4409796 preintegration test llswtest fails with cg assertion 4413378 the lates nozomi cg failed on an assertion when compiling a medialib code 4447289 v8plus: fp-compare does not set fp_invalid on NaNs 4449050 compile time regression between SC5.0 and lionel/nozomi on OS code 4454546 300.twolf base run failed on ultra3 with lionel-patch 4454904 some large files take excessive time to compile 4467991 -xautopar -xO4|5 causes incor out in lionel_patch 4473520 fpversion suggests -xtarget=generic on recent Sun boxes (from 109505-07) 4437673 Compiling a file in Oracle with -x04 takes 30 mins and 2GB swap 4448974 Segmentation Fault, Forte 6, Update 1, FORTRAN compiler. 4462118 The compiler creats bad code when used with "-xO3". (from 109505-06) 4368603 wrong assigment for integer*2 structure component with -xarch=v9 -O3 4409396 lionel patch compiler generates code sequence with RAW hazard 4418147 Gaussian miscompares with -xdepend flag 4425718 Wrong results when using -O3 and -xchip=ultra3 4427827 %sp is used instead of %fp. 4430101 lionel patch bootstrap fails with cg assertion 4430154 Inlining is not assigning registers... 4430576 cg asserts in procgen.cc during bootstrap 4431279 minivalid fp test asgops fails with assertion 4432032 imsl test fail with -xarch=v8a -xchip=ultra2 -xvector -xdepend 4434045 lionel build fails with cg core dump 4435680 f77 -fast option returns an Iropt Internal Error: in vectorization 4445633 the latest lionel patch compiler fails to generate code for some "else" branch (from 109505-05) 4389215 code changed based on existence of TMPDIR environment variable 4401548 Autopar: sporadic inconsistant result with -parallel -native 4407102 coredump on an explicitely-parallelized doall loop with WS6U1 4421262 very large C file compiling in unbelievably long amount of time with -fast 4421648 C 5.2 generates assertion error 4422494 iropt time is increased by 10 times with feedback optimization 4424106 Optimizer drops opt level and never terminates 4425879 Optimizer wrongfully eliminates conditions when -xO4 is used (from 109505-04) 4383851 Wrong code generated by optimizer 4393992 SPARC 6.0 cgen: -g -Qiselect-T1 doesn't re-enable tail-call optimization 4397966 compiler generate wrong code with -fast (-xalias_level=basic) 4401523 A C++ application coredumps at -fast w/ ws6 and ws6u1 4404978 Noticeable (>10%) regression on SPEC95/m88ksim (baseline). 4408183 Segmentation fault with optimization due to bad address 4408602 F77 5.2 generates wrong code with -depend 4411865 Error in Cheetah machine model in cg. 4412156 iropt coredumps with Status 139 when optimizing with -x03 and -x04 4414057 sxlib does not compile with SC6.1-new (from 109505-03) 4389820 __vpowf returns NaN when computing powf(-2.0F,2147483520.0F) 4389823 __vpow sometimes returns garbage on pow(1.5,10.0) when stridex is 0 4398995 Vectorized pow produces wrong results for n=2 4400199 In 20001128_lionel_patch, iropt hangs while compiling one oracle src file 4389450 assertion failed in file ../src/ms_pipe/sp_interface.cc at line 7959 4393860 047.tomcatv assertion failure "zero omega for backward arc" 4377798 bzip2 miscompares with v9 base flags under ultra-III machine (nozomi_dev) 4379770 outline functions not attributed to proper module from analyzer 4394498 It takes 15 minutes for dbx to load a binary compiled with outlining 4364978 WS5.0 and Forte 6.0: -xarch=v9 breaks -xO3 optimaized program. (from 109505-02) 4372564 OpenMP-C : iropt coredumps on assignment to loop variable 4371220 -depend of -fast flag of lionel f90 compiler causes incorrect results 4375005 lionel compiler produces wrong code with -depend option of -fast flag 4373233 Performance degradation with OpenMP reduction clause 4374443 sort dumps core with WS6.1 and some piped input 4373907 with 20000914_lionel_patch 171.swim regressed by > 24% with peak flags 4383668 Compilation time increases significantly when -library=iostream is used 4393133 optimizer crashes the compiler with seg-fault (from 109505-01) 4329395 Sun F95 v6.0 (beta) compiler has VERY slow BARRIERs 4350126 prefetch scheduled just prior to load of same address 4350127 fetch of parallel pointer chases not parallelized with prefetches. 4350134 prefetch cache line model not-functioning 4350135 address generation duplicated, but then not removed by CSE 4350921 loads using same base register as prefetch address used to block for prefetch 4350930 global data not prefetched 4356243 compiler assert in VIS code: cg: MS pipe: error detected in group 4356406 Bus Error on some tests in BIGARRAY test suite on V9. 4357137 cg fails compiling 176.gcc with -xlinkopt 4360952 f77 5.1 fails with leaf_lookup_expr: bad leaf (tag=0) 4361127 performance regression on stencil code for lionel 4361621 very compilation time causes timeout and regression on 750 f90_baseline tests 4361847 cg assert: Internal error: bad prefetch displacement calculation 4362984 f90 (lionel): Different result with -xautopar 4363736 LIONEL chease fails intermittently with -xO4 -xautopar 4363782 cg fails when compiling with option to generate modulo scheduler stats file 4365454 Lionel fails to pipeline loops 4365542 cg assertion failure after installing patch 109481-03 4366769 Miscompare in SPEC2000 253.perlbmk 4367585 different results in f90 without option -O3 and with -O3 4368062 different results compiling -O3 vs. -O2 4369216 Using taz compiler (with patch), iropt dumps core when compiling oracle file Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch." For Solaris 7-8 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: ----------------------------- It is strongly recommended that the C++ Runtime patches (patches to the Solaris SUNWlibC package) are installed on all systems used by the compiler or used to execute code generated by these compilers. In all cases, these are the minimum revision level recommended. If more recent revision levels are available, we encourage you to use them. Solaris Version SPARC SPARC V9 Intel ------- --------- --------- --------- 2.6 105591-09 na 104678-07 7 106327-08 106300-09 106328-08 8 108434-01 108435-01 108436-01 The SPARC V9 patch is only required for systems running Solaris 7-8 and either executing or compiling 64-bit C++ applications. README -- Last modified date: Monday, August 12, 2002