OBSOLETE Patch-ID# 120759-03

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: studio 11 x86 x64 backend yabe ube iropt ipo ir2hf fbe proflib
Synopsis: Obsoleted by: 120759-04 Sun Studio 11_x86: Sun Compiler Common patch for x86 backend
Date: Mar/31/2006


Install Requirements: NA                      
                      
Solaris Release: 8_x86 9_x86 10_x86

SunOS Release: 5.8_x86 5.9_x86 5.10_x86

Unbundled Product: Sun Studio 11 C, C++ and F90 compilers

Unbundled Release: 5.8

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 5096093 5097244 6187220 6191560 6206415 6208139 6224054 6226789 6230629 6234451 6265644 6273539 6275471 6285859 6289012 6297880 6301304 6302163 6302340 6303687 6303849 6304052 6305134 6305457 6305511 6305594 6306747 6309081 6309147 6309337 6309890 6310719 6311748 6312188 6312222 6312346 6312647 6312694 6312939 6313008 6313238 6313534 6313833 6314129 6315756 6316913 6317097 6319380 6319734 6319750 6320205 6321200 6321989 6322243 6323483 6324196 6324519 6326299 6326947 6327939 6328323 6328734 6329892 6331308 6331886 6331917 6332109 6332110 6332112 6332196 6333204 6333960 6334955 6335666 6336173 6336188 6336647 6337304 6337842 6337853 6337863 6337891 6339559 6339794 6340061 6341270 6343061 6343208 6343678 6344110 6344567 6347002 6347478 6348126 6348722 6350032 6351952 6352177 6353151 6353355 6354978 6358012 6360887 6361488 6363765 6364393 6365029 6365085 6366850 6368762 6372230 6373172 6373769 6376039 6376319 6377978 6380340 6385587 6385812

Changes incorporated in this version: 6380340 6364393 6373769 6377978 6376039 6376319 6305511 6368762 6385587 6385812 6354978 6373172 6365085

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: 

<install_dir>/SUNWspro/prod/bin/fbe
<install_dir>/SUNWspro/prod/bin/ipo
<install_dir>/SUNWspro/prod/bin/ir2hf
<install_dir>/SUNWspro/prod/bin/iropt
<install_dir>/SUNWspro/prod/bin/ube
<install_dir>/SUNWspro/prod/bin/ube_ipa 
<install_dir>/SUNWspro/prod/lib/amd64/prof_lib.map
<install_dir>/SUNWspro/prod/lib/amd64/prof_lib.o
<install_dir>/SUNWspro/prod/lib/amd64/prof_tsd.map
<install_dir>/SUNWspro/prod/lib/amd64/prof_tsd.o
<install_dir>/SUNWspro/prod/lib/ipo/amd64/ipo_ld_support.so
<install_dir>/SUNWspro/prod/lib/ipo/ipo_ld_support.so
<install_dir>/SUNWspro/prod/lib/prof_lib.map
<install_dir>/SUNWspro/prod/lib/prof_lib.o
<install_dir>/SUNWspro/prod/lib/prof_tsd.map
<install_dir>/SUNWspro/prod/lib/prof_tsd.o
<install_dir>/SUNWspro/prod/lib/sys/libyabe.so

Problem Description:

6380340 AMD64: compiler misses function exit with -xO3 code
6364393 OpenMP: -xarch=sse or -xarch=sse2 (-xtarget=opteron) leads to wrong application behaviour
6373769 x64: intesively used variables stored and loaded from memory inside the loop
6377978 SunStudio 11 on x86 machines may generate code with memcpy when optimizing array initialisations
6376039 Implement 64-bit integer intrinsics in yabe
6376319 Incorrect use of "orl" opcode, causing kernel panic
6305511 hashtable-based bit vector is too slow to iterate over (part 3)
6368762 ube_ipa: error: Not enough profile data
6385587 varargs: sign extend 32bit -> 64bit to stack
6385812 AMD64: varargs: sign extend 32bit -> 64bit to stack
6354978 sparc|x86|x64 venus-patch: benhchmark 614 failed in iropt
6373172 f90 7.1, 8.0, 8.1, 8.2: Incorrect CODEGEN IR TREE SYNTAX ERROR
6365085 UBE fails to compile ISV application with -xO2 only
 
(fr 120759-02)
 
6312188  x86: application segfaults at runtime with -xO3 -Wd,-iropt-prof -xvector=simd -xprofile
6305134  compilation fails with -fast -iropt-prof on use
6343208  assert in lang/ube/opt/src/cfg.c:11189 at -xO2 if -iropt-prof is used
6206415  turn the quickfix for pbranch in fall_thru into a goodfix
6319750  x86: venus b17.0 icu-2.8 miscompared under -O 
6344110  optimizing huge inline functions on x86 does not scale 
6350032  bad object file pathname embedded in object file with -xprofile=collect on x86
6343061  Compiler generates incorrect code when compiled with optimization flags
6340061  ube_ipa: assert when accessing non-allocated node
6317097 ube asserts in dbg_gen when given nonstandard order of entry points
6326299 AMD64: incorrect constant folding/propagation
6348722 x64: mars-9.0 tcl-8.4.1 Seg faulted in execution time
6363765 ir2hf puts too much pressure on space manager
6361488 *x86* atanh(x) becomes asinh(x) with -xbuiltin=%all -O
6230629 x64: vulcan+patch 0215: benchmark 432 failed in run-time
6365029 Can skip saving/restoring of unused registers for try/catch block
6351952 Studio 11 incorrect argument passing in unoptimized code
6353355 implement tolower/toupper intrinsics
6372230 x86, ube, Assert has been violated at '.../ube/graphs/src/scregion.c 305' with using -xO* option
6358012 mlib_ImageDataTypeConvert (i386, sse2) test failure with venus patch 01
6366850 x86 compiler asserts when compiling MD5 code with -xO5
6360887 Compiler fails to compile src/bundled/app/inst/liveupgrade/liblu/lu_mem.c on x86
 
(fr 120759-01)
 
6309890 stlport test case fail during execution when compile with -O4 and -O5
6336188 C++ code looping in destructor of deque with -xO4 and above
6303849 Need new commentary messages for M-functions
6309337 incorout -xipo=2 -xO4 -xprofile=use; 1stF:20050524_venus
6311748 Studio 10 Update 1 beta C compiler bug with -O
6312694 3 parallel testcases produced duplicate inlined messages in venus but not in mars on x86
6316913 mlib_ImageColorHSL2RGB() (v9a) performance degraded under venus_patch.
6319734 incorrect constant propagation across omp parallel region
6324196 Code fails at runtime when compiled for 64-bit
6328734 cc 5.5, 5.6, 5.7: iropt hangs if a constant is set to a large value.
6333204 F90:-xparallel caused test to fail at runtime with 20051004_mars. 1stF:20050920_mars
6337304 sgcc: -O3 -xautopar gives incorrect output
6312647 missing load object records in asynchronous profile collection
6313534 error when profiling shared objects compiled using previous release of compiler
6347478 Optimizer SEGVs with -g and nested OpenMP parallel regions
6352177 Fatal error in iropt - core dump compiling test omp_chr_ac_union
 
5096093 Bad tripcount calculations with unsigned long long
5097244 x86 assembler gives poor error msg
6187220 vulcan ube internal error while compiling jp2k_jpc_encsigpass.c
6191560 mlib_MatrixAddS_S8_Mod (amd64) test failure under vulcan
6208139 Internal error in a2lf with missing .end inline template
6224054 AMD64: ube: ir2hf takes too long and too much memory to compile 76500 lines of code
6226789 AMD: Incorrect output -xO0 complex type argument
6234451 AMD64: ube internal error in "integ" test case
6265644 App compile-time performance regression ~300% starting with 050205 build
6273539 Unnecessary movswl instruction
6275471 UBE segfaults while compiling a file
6285859 X86 & AMD64: Incorrect value REAL(COMPLEX z) for -O3 and higher
6289012 YABE: Truncated array index
6297880 Apps fail during runtime with -fast -xprofile=collect/use -xvector=simd
6301304 AMD64: -xprofile:collect/-xO0 results in generation of incorrect code
6302163 x86 as incorrectly flags reads of more than 16 bits from segment registers as illegal
6302340 x64: x86: venus-build15.0: benchmark 614 aborted in execution time
6303687 AMD64: Internal error. -O3 and higher using POINTER
6304052 Inline templates does not recognize sse3 instructions
6305457 assert at ube/translator/src/post_gen.c 2450 with -xlibmil and optimization lower that -xO3
6305594 x64: build with profile feedback fails with assertion at ube/opt/src/cfg.c 1991
6306747 REG: ube_ipa: error: SIGNAL: Segmentation Fault,ube_ipa failed for subs_07.c when -xO5 was used
6309081 tailcall used for non-tailcall function
6309147 venus build 16.1 produces incorrect REAL values when -xvector=simd and -KPIC options for x86 64
6310719 marked hidden globalized symbols for cross module inlining were dropped by ube
6312222 syntax error in asm file, using -Wu,-tc
6312346 Assert failure with -xvector=simd at iropt_microvec.c:656
6312939 x86: loop is not vectorized with -xvector=simd, stores of long words can be vectorized
6313008 C++ build -xarch=amd64 SEGVs in FBE
6313238 App fails (miscompares) with venus compiler on -xO1
6313833 ube's feedback access library routine __bpf_objfile_match() should allow inexact  pathnames
6314129 AMD64: Assert violated at'/set/venus/builds.intel-S2/nightly.Tue/intel-S2/lang/ube/opt/src/cfg.c 203
6315756 wrong comparison while using xO5
6319380 Assert @ ube/hf/src/sym.c 600
6320205 incorrect code generated for long long under -xO3 -xarch=amd64 -xvector=simd
6321200 Apps trigger ube assert ".../ssa.c 813" when compiled -xO2 -xprofile -xarch=amd64
6321989 bitfield optimization fails for -01 to -04
6322243 ube asserts when Apps are compiled "-xO4 -xprofile=use"
6323483 Misc clean up of template processing and hf_show
6324519 Abnormal stack resource consumption in Venus 18 Fortran code with -xarch=sse2 using yabe
6326947 Studio 10 X86 optimization internal error
6327939 optimizing huge inline functions on x86 does not scale
6328323 Memory leaks in UBE compiler
6329892 Studio 10 & 11 (build 19) produces incorrect results with -xbuiltin=%all
6331308 using -Wu,-O~ to switching options off causes performance degradation
6331886 Fix FUNC_ACCESS feature and bugs found, make FUNC_ACCESS default for debug builds
6331917 ir2hf segfaults on linux for customers testcase
6332109 Yabe should free vla_table only once
6332110 Have YABE dump dbg_gen info as well when it is requested to dump SunIR
6332112 Only save and restore callee-saves registers if they are used in the routine being entered
6332196 AMD64: message  Wrong IR type: 44 arises while using max() on intervals
6333960 ube_ipa: fix bugs found by FUNC_ACCESS feature
6334955 lsqrt produces incorrect result when compiled with -xO1 under venus
6335666 remove SHF_LINK_ORDER bit from eh_frame section header in linux
6336173 section labels come out wrong for medium model
6336647 unnecessary use of idivl
6337842 fix er_checkpoint problems and coverage -Qoption ube -wt
6337853 ivp table overflows in large files
6337863 compile speed is too slow
6337891 Adjustable dynamic lf nodes are killing the heap manager during lf_peep()
6339559 assert at 'lang/ube/a2lf/src/lft.c 556' compiling source with mmx templates
6339794 Over optimization of LONG_MIN
6341270 UBE: A2LF redundant MMX instruction generated
6343678 ube assert violation cfg.c 4133 when compiling without -g
6344567 Incorrect expansion of rolw to roll in a2lf
6347002 Provide SSE/SSE2/MMX integer vector intrinsic functions on x86/x64 C/C++ compile
rs
6348126 Incorrect attributes for STD_IX and STD_LX in machine_intel.tab
6353151 AMD64: Floating point stores cause bad assembly in medium model.

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:  Friday, March 31, 2006

