Patch-ID# 104668-09 Keywords: optimize C SC4.2 Synopsis: SPARCompiler C 4.2: C patch for Solaris 2.x Date: Jan/21/99 Solaris Release: 2.4 2.5 2.5.1 2.6 7 SunOS Release: 5.4 5.5 5.5.1 5.6 5.7 Unbundled Product: SPARCompiler C Unbundled Release: 4.2 Relevant Architectures: sparc BugId's fixed with this patch: 4015159 4019494 4062415 4066147 4030634 4064572 4025170 4077685 4035112 4042253 4075414 4081482 4094734 4100589 4135775 4130826 4010697 4014799 4045577 4080622 4099094 4129956 Changes incorporated in this version: 4129956 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: /opt/SUNWspro/SC4.2/bin/cg /opt/SUNWspro/SC4.2/bin/iropt /opt/SUNWspro/SC4.2/bin/acomp /opt/SUNWspro/SC4.2/bin/ssbd /opt/SUNWspro/SC4.2/lib/cg/model_cg_super2.so.2 /opt/SUNWspro/SC4.2/lib/cg/model_cg_ultra.so.2 Problem Description: 4129956 SC 4.2: internal compiler error: op '.' not implemented yet (from 104668-08) 4100589 Loop unroller produces wrong code with "-xO4 -xtarget=ultra" 4135775 Compiler asserts when compiling medialib. 4130826 iropt hangs when compiling sql.c with profile feedback (from 104668-07) 4094734 C compiler (iropt) dies when compiling large file for profile collection (from 104668-06) 4010697 built-in assembler mishandles weak aliases 4080622 The comparision of LongLong value with ZERO is failed 4099094 f77 v4.2: cg: cg_memory_allocation.malloc: out of memory (from 104668-05) 4081482 preprocessor C support "-nocurrent_include" (from 104668-04) 4077685 SC4.2 Fatal error 136 in iropt 4035112 4.2 C compiler -xO3 optimization fails in iropt routine 4042253 SC4.2 optimizer produces incorrect double-indexed store byte instruction 4075414 cg eliminates a cmp instruction that it shouldn't (from 104668-03) 4062415 switch stmt fails compiled with -O2 works using -O3, -O4 or -g 4066147 SC4.2 -xO2 generates error 4030634 switch case -1 causing f77 compiler to hang when using optimization 4064572 iropt Segmentation Fault using SC 4.2 and -xO4 flag 4025170 compiler error in ppc(?) at if condition and postincrement (from 104668-02) 4014799 the 4.2 compiler does not optimize loop that the 4.0 compiler did 4045577 4.2 compiler degrades ~28-30% in performance on a simple lookup loop. (from 104668-01) 4015159 Optimization levels 2 and 3 generate incorrect code (xO2, xO3) 4019494 Slower code generated by the 4.2 Oct 96 compiler Patch Installation Instructions: -------------------------------- Refer to the Install.info file for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below as special instructions. Special Install Instructions: ----------------------------- None.