Patch-ID# 111678-18 Keywords: common compiler backend iropt cg libmtsk ws6u2 dbg_gen stabs Synopsis: Compiler Common 6.2: Patch Forte Developer 6 update 2, C++ F77 F95 Date: Aug/27/2004 Install Requirements: None Solaris Release: 2.6 7 8 9 SunOS Release: 5.6 5.7 5.8 5.9 Unbundled Product: Compiler Common NOTE: C, C++, FORTRAN 77, FORTRAN 95 5.3 Unbundled Release: 6.2 Xref: Topic: Relevant Architectures: sparc BugId's fixed with this patch: 4413818 4414540 4430199 4432011 4432417 4432907 4433592 4434649 4435680 4437356 4437673 4438420 4444858 4446367 4447269 4447289 4447831 4449549 4450907 4451635 4453161 4453514 4454904 4455467 4458791 4459843 4461088 4462765 4463617 4464592 4469210 4469809 4469897 4470621 4471372 4472202 4472950 4474003 4475235 4479344 4480677 4480872 4484539 4484744 4484979 4485277 4485484 4490052 4490592 4490753 4490874 4495235 4499576 4499673 4505841 4508954 4511963 4519948 4520054 4522050 4522293 4522387 4523567 4524656 4524658 4528137 4531833 4533241 4548875 4614568 4615279 4618450 4619738 4620154 4640245 4643744 4655293 4656606 4658429 4660630 4661684 4662924 4665168 4665841 4670790 4687990 4692937 4696448 4702624 4704496 4706264 4712238 4716551 4725343 4739098 4751979 4752318 4759057 4777773 4777832 4785049 4787661 4799390 4808597 4819934 4822859 4832164 4849984 4861912 4924391 4957264 4975247 5068534 Changes incorporated in this version: 5068534 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/WS6U2/bin/cg /SUNWspro/WS6U2/bin/fbe /SUNWspro/WS6U2/bin/iropt /SUNWspro/WS6U2/bin/postopt /SUNWspro/WS6U2/lib/CCrti.o /SUNWspro/WS6U2/lib/CCrtn.o /SUNWspro/WS6U2/lib/cg/model_cg_super2.so.3 /SUNWspro/WS6U2/lib/cg/model_cg_ultra.so.3 /SUNWspro/WS6U2/lib/cg/model_cg_ultra3.so.3 /SUNWspro/WS6U2/lib/crti.o /SUNWspro/WS6U2/lib/crtn.o /SUNWspro/WS6U2/lib/crtnobjc.o /SUNWspro/WS6U2/lib/crtnobjd.o /SUNWspro/WS6U2/lib/lib_I_dbg_gen.so /SUNWspro/WS6U2/lib/libmtsk.a /SUNWspro/WS6U2/lib/v9/CCrti.o /SUNWspro/WS6U2/lib/v9/CCrtn.o /SUNWspro/WS6U2/lib/v9/crti.o /SUNWspro/WS6U2/lib/v9/crtn.o /SUNWspro/WS6U2/lib/v9/crtnobjc.o /SUNWspro/WS6U2/lib/v9/crtnobjd.o /SUNWspro/WS6U2/lib/v9/libmtsk.a Problem Description: 5068534 Assmebler factoring out expressions wrongly (from 111678-17) 4861912 u3 v8plus 173.applu peak showed regression with 20030505_nozomi_patch on fibula 4924391 incorout -xautopar -xarch=v9; regression in nozomi_patch 4957264 templated function is marked UNDEF in symbol table when compiled optimized 4975247 cg asssert instruction.cc w -xarch=v8plus -xO4 -xrestrict -xdepend; Nozomi_patch (from 111678-16) 4499576 Forte C generates bad code with -fast option 4822859 Codegen Error with anything higher than -xO2 4849984 f90: "-fast" leads to incorrect numeric results beginning with 111678-06 (from 111678-15) 4785049 iropt goes into infinite loop 4787661 union construct with -fast gives incorrect results 4799390 cg -xarch=v9 generates .register directives for unused global registers 4808597 mlib_ImageAffineIndex (v8plusa) test coredump under k2 4819934 iropt warning is printed too many times 4832164 nozomi_patch fails on loops_18 (from 111678-14) 4692937 twolf peak fails on ultraII (with -Wc,-Qms_pipe+intdivusefp flag) 4702624 Compiler option -fast -target=ultra3 causes Segmentation fault- core dump 4716551 f77: Fatal error in iropt: Segmentation Fault with 6.2 patch 4725343 cgen produces different output depending on version of qsort 4739098 cg: assertion failed in file ../src/sparc/instruction.cc w/v8plus 4751979 6.1 compiler too agressive with function scope static vars 4752318 f90/cg seg fault 4759057 W6U2 Feedback optimization reduces Pro/E performance by not inlining a hot funct 4777773 base 176.gcc failed with 20021108_nozomi_patch on u3 v8plus fibula 4777832 base 168.wupwise has a 28% regression wiht 20021108_nozomi_patch on fibula (from 111678-13) 4696448 iropt reduces optimization when -o /full_path/foo.o does not match feedback file 4704496 f95 6.2 (iropt) error: find_prototype: fail to find prototype triple for express 4706264 compiler leaves /tmp files around 4712238 assertion error when using -xO2 and asm inlining (from 111678-12) 4508954 -xdepend and -xchip cause compiler to enter endless loop 4662924 xtarget=ultra3 produces "different" behavior when run on ultra2 4665841 bad xO3 optimization involving arrays and post-loop compound assignment 4687990 FD6u2 cg produces wrong code compiling smm_nbe.c with feedback optimization (from 111678-11) 4670790 Dbx gives "duplicate type definition" error when reading a second object file (from 111678-10) 4655293 Forte6 U2: cc -xO3 -xarch=v9 generates invalid codes 4656606 unexpectedly slow performance on random number generator 4658429 OpenMP: privatized 2d adjustable array causes segv 4660630 Check for NaNs on fadd & fsub 4661684 libmtsk does not adjust thread count when thr_create fails 4665168 cc with "-xprofile=collect"' and relative path for output object gives SIGBUS (from 111678-09) 4413818 assertion failed: "cg: Displacement too big !" (from 111678-08) 4614568 CC/cc -xprofile with dlclose() causes SEGV 4615279 f90 6.2 produce wrong results is -xO4/5 -xdepend is used together. 4618450 f90 compiler hangs when using -fast option 4619738 using -O4 -xchip=ultra3 gave different results 4620154 cg assertion failed in file sp_krap.cc at line 2168 using -O4 -xchip=ultra3 4640245 exp() miscomputation upon compilation with -xvector=yes -fsimple=1 4643744 -xO3 generates incorrect code for 64-bit doubles (from 111678-07) 4484539 inefficiency when multiplying unsigned long by small constant 4511963 cg: assertion failure in software pipeliner while using sun_prefetch functions 4522293 cg should print a better error message when running out of memory 4548875 -xalias_level=std generates less optimized code (from 111678-06) 4490592 Code eliminated but not dead 4490052 f90 fails with cg: Internal error: bad prefetch displacement calculation 4495235 SPEC95 132.ijpeg fails with -fast on US3 4444858 assertion error on 013.spice2g6 4499673 loop fusion causes incorrect code motion and extra loop 4523567 Need fix for 4520054 (long compile times with -xalias_level=weak) in nozomi 4520054 compiler runs forever when compiling with -xalias_level=weak 4528137 -xO3 optimization generates wrong code in Oracle 4519948 Incorrect code generated with Forte 6 U2 at -xtarget=ultra3 -xarch=v9a -xO3 4522050 cg consumes too much memory compiling prokernel_test.i from Pro/E 4524658 cg_memory_allocation: new() out of memory 4524656 cg assertion fails in ../src/ms_pipe/sp_machine_model.cc at line 1630 4533241 Compiling Oracle with -xO3 causes core dump 4522387 f6u2 Compiler doesn't generate N_SO field properly -missing / 4531833 stab types can be referenced before use (from 111678-05) 4505841 cg error (as) : "/tmp/acompAAAUkaiYX", line 40 : unknown opcode with -xo4 and -g (from 111678-04) 4469897 crt*.o symbol references performance hog for opening many *.so modules 4484744 use of atexit in crti.o breaks kernel build (from 111678-03) 4469210 cg assertion errors when compiling a test case derived from 168.wupwise 4472202 cg: assertion failed in file ../src/ms_pipe/sp_krap.cc 4474003 Compiler Common 6.1 Patch 109505-06 optimizer produces wrong code 4479344 cg assertion failure: binary_fmt: source/dest not identical in cmov 4472950 cgen assertion failure with -xO0 in f90 program 4461088 Fatal errors in cg: Bus Error, Segmentation Fault and Illegal Instruction 4480872 f90 code causes iropt core dump 4484979 Option -xdepend makes C compiler generate wrong code for loop unrolling. 4475235 a simple test (ultra3) coredump under krakatoa 4485277 Optimization changes __fsr_init_value type from NOTY to OBJT 4485484 mlib_VectorConvert_U8_S16_Mod() (ultra3) test coredump under latest nozomi 4480677 the latest nozomi and krakatoa failed a simple test 4490874 compiler(iropt) error: Out of range of structure block 4464592 cg error - location counter not on word boundary 4490753 The f77 command with certain options fails. (from 111678-02) 4446367 S8 sytem, catch(...) of static variable destructor fails in user .so file (from 111678-01) 4414540 NOZOMI cwhetstone incorrect output with -xO4 -xtarget=ultra3 4430199 mlib_ImageZoomIn2X_U8_BL_SP() (v9a) test failure with nozomi and ultra3 4432011 NOZOMI hpc.gamess invalid output with -xO4 -xdepend -xtarget=ultra -xarch=v9 4432417 cg: assertion failed in file ../src/ms_pipe/sp_depgraph.cc with v8 4432907 cg: assertion failed in file ../src/ms_pipe/sp_machine_model.cc 4433592 -xtarget=solb5 w -xO0|1|2|3|4|5 -> ms_pipeliner_b::process_option -- unknown chi 4434649 mlib_VectorConvert_U8_S16_Mod() (ultra3) test failure under krakatoa 4435680 f77 -fast option returns an Iropt Internal Error: in vectorization 4437356 mlib_VectorMulS() (v8plus) performance degradation under krakatoa 4437673 Compiling a file in Oracle with -x04 takes 30 mins and 2GB swap 4438420 bad v8plus instr message from Nozomi build 13.3 4447269 Segmentation Fault in iropt at -depend without ME 4447289 v8plus: fp-compare does not set fp_invalid on NaNs 4447831 cg assetion error when compiling 200.sixtrack with -fast -xchip=ultra3 4449549 Nozomi and Krakatoa crash during the compilation 4450907 test compiled with -xO1 -xarch=v8plus fails 4451635 F90 compiler does not recognize reduction operation 4453161 TASKCOMMON: problem in recognizing the parallel loops 4453514 fortran test fails with a segmentation fault. 4454904 some large files take excessive time to compile 4455467 Iropt failed w "-xdepend -xcg92 -xprefetch=yes" 4458791 OpenMP: incorrect output when using ordered 4459843 wrong result on molpro94 with -xdepend 4462765 sp_interface.cc in krakatoa cg failed an assertion 4463617 IROPT generates wrong types of parameters to memcpy calls 4469809 SPEC OMP2001: Runtime seg fault in ammp when compiled with -xopenmp -xcrossfile 4470621 stream benchmark fails, pointer gets lost 4471372 iropt fail w "-xautopar -xreduction -xrestrict=%none -xbuiltin -xO4|5" 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: ----------------------------- If the Forte 6 update 2 C++ compiler is installed on the system, then installing the BackEnd patch 111678-04 or later requires that the C++ patch 111685-02 or later also be installed. The BackEnd patch should be installed before the C++ patch is installed. README -- Last modified date: Friday, August 27, 2004