Patch-ID# 117846-08

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: studio10 x86 backend yabe ube iropt ipo ir2hf fbe gcrt1.o pagesize.o
Synopsis: Sun Compiler Common 10_x86: Patch for studio10 backend
Date: Sep/02/2005


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

SunOS Release: 5.8_x86 5.9_x86 5.10_x86

Unbundled Product: Compiler Common

Unbundled Release: 10.0
NOTE: Sun (Studio10) C, C++ and F90 compilers 5.7

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 5058413 5084661 5102884 5107094 6191832 6192447 6192483 6200463 6200908 6201130 6202265 6202494 6202521 6203146 6203307 6203360 6203392 6204446 6205164 6206120 6206904 6209123 6209288 6209301 6209348 6209828 6210021 6210353 6210391 6210786 6211190 6211203 6211206 6211732 6212039 6212198 6212776 6212922 6213480 6214511 6215239 6217218 6217494 6217911 6218032 6218156 6219243 6219247 6219271 6221843 6221990 6222940 6223034 6223325 6223575 6224096 6224116 6225116 6228858 6230065 6230073 6230514 6230935 6232811 6233342 6233737 6234167 6234193 6234604 6234689 6237514 6240090 6252096 6253433 6258275 6261369 6262795 6267558 6270807 6272326 6272798 6281880 6294651 6300526 6302182 6305084 6307646 6307786 6308867 6311829 6313008

Changes incorporated in this version: 6308867 6311829 6313008 6307786

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 118682-01 (or greater)

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/pagesize.o
<install_dir>/SUNWspro/prod/lib/gcrt1.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/pagesize.o
<install_dir>/SUNWspro/prod/lib/sys/libyabe.so

Problem Description:

6308867 ube internal error with -O5
6311829 compiler segmentation fault with vulcan_patch when compiling App on x86
6313008 assembler cannot handle number of section > 0x7fff
6307786 C:coredump(seg-fault) w/ 20050728_vulcan_patch w/ -xO3 -xdepend -xrestrict. 1stF:20050728_vulcan_pa
 
(from 117846-07)
 
6302182 Vulcan Compiler gives incorrect output when compiled with -x03 option
6300526 AMD64: Vulcan Fatal error in /opt/SUNWspro/SS10/SUNWspro/prod/bin/ir2hf, core produced
6294651 Arg 7 passed incorrectly to func with small struct args in unoptimized code on AMD64
6305084 floating point exception in modf on AMD64 when compiled -g
6307646 amd64 yabe attempts to find fp return value on x87 register stack
 
(from 117846-06)
 
6240090 segmentation fault in fbe on x86 while building boost-1.32.0
6253433 Vulcan spits out 'Illegal subtraction in ...  ".CG15.52 - .CG0.125"'
6258275 AMD64: C++ compiler generates illegal assembler file with -xO2
6261369 Wrong code generation for parammeter passing to methods with Studio10/X86_64 and -g -xarch=generic64
6262795 OpenMP-C++: Studio 10 x86 iropt dumps core w/ templated code using -xopenmp
6267558 ube fails with out of mem error for optimized amd64 compile
6270807 x86: fbe fails with "Fatal Error exec'ing /opt/SUNWspro/prod/bin/fb"
6272326 x86: ube internal error with -xO2 or higher, and -xbuiltin=%all
6272798 get_hash_symbol returns incorrrect value when compiled with -xO3
6281880 C++ 5.7 on x86 has problems passing long function argument list
 
(from 117846-05)
 
6223034 Need option for saving register arguments on amd64
 
(from 117846-04)
 
6252096 ube: program compiled with -O option disturbs an element in the struct
 
(from 117846-03)
 
6237514 x86: ube strength reduction problem (?) affecting Hotspot fastdebu
g c2 build
6211732 Sparc v8; 386: Wrong result while invoking IBCLR() with -O3|-O4|-O
5 flag
6234193 CC: Fatal error in iropt: Abort (core dumped)
6230514 Sun Studio 10 generates wrong code when '-O' is used
6233737 compiler will not work if install directory path contains a comma
 
(from 117846-02)
 
6234604 UBE incorrectly truncates 64-bit address in data initialization
6234167 more problems compiling large arrays
6233342 error accessing arrays in large common block with amd64
6230935 Sun Studio 10 x86: ube: internal error
6232811 AMD64: Truncated Fortran array size (>= 32-bit)
6230065 add support for -xpagesize to x86 cc, CC, and f90
6234689 AMD64: YABE incorrectly truncates 64-bit address in data initialization
6230073 fortran test fails at runtime when compiled with yabe
 
(from 117846-01)
 
5058413 argument of .float directive is rounded by fbe
5084661 studio 10 compiler ube fails with internal error at -xO1
5102884 xchg instructions have incorrect attributes
5107094 AMD64: testcase ./bugs/E4353496 produced incorrect exceptions in -xO1
6192447 REG: -xpg caused testcase vijay to dump core in vulcan b20
6200463 section names generated incorrectly for ELF 64-bit AMD64
6201130 vulcan: fbe wan't compile with debug info
6202265 allocate and pass pointer variable to _mcount under -xarch=amd64 {-p, -xpg}
6202494 AMD64: MOD(i,4) not simplified for -xarch=amd64
6202521 should we use S_GET_ARP2 for TOPSTRING in translator/src/cgutils.c
6203146 amd64: EGEN test crashes in 64-bit mode if compiled with -fast option
6203307 loop with if statement in body fails to unroll
6203392 AMD64: TOPLONG_INT not defined on AMD64
6205164 ube produces internal error while compiling regtest #5024782
6206120 ube crash during first pass feedback compile with -xbuiltin
6206904 REG: testcase tcom_064 failed when compiled w/ "-fsimple=2 -nofstore" in ube
6209123 appl crash with -xdepend -xipo=1 -xarch=amd64 +feedback
6209288 AMD64: ube failed for openmp testcase E4677065_1.c due to internal error in vulc
6209301 AMD64: "-g -xopenmp=noopt" caused several openmp testcases core dumped in vulcan
6209828 AMD64: x86: build-23.1 bench++:a000091 Seg faults in execution time.
6210353 AMD64: build23.1: C++ benchmark lame-3.93.1 Sf in execution time -fast -xarch=am
6210391 x86: build23.1: C++ benchmark apfloat-2.40:gauss Seg faulted in execution time
6211203 Yabe produces error on the simple testcase with complex arithmetics.
6211206 Intel, AMD64. Segmentation Fault while working with subroutines.
6212922 x86: unresolved external under -xprofile=collect
6214511 yabe generates wrong code for multiple inheritance in C++
6217218 ube_ipa: internal error
6217911 AMD64: problem with virtual functions in shared libraries
6218032 dbx prints incorrected values of fortran variable
6219243 assembler generates wrong array size in the object file, abortion of the loader
6219247 UBE will generate an incorrect comm size for large array
6219271 AMD64: vulcan-rr.3 ISV_APP qt-x11-free-3.2.0 Segfaults in execution tim
6191832 mp4ve_encoder application core dumps under mercury and vulcan
6192483 cg fatal error w -xO4 -g -xcrossfile -xprofile=collect -xdebugformat=dwarf -xhwcprof
6200908 ipo core dumped when troubles with ube_ipa
6210021 if ube fails under -xipo -xprofile=use then ipo segfaults
6210786 x96: IROPT doesn't microvectorize a simple C program
6212776 ivsub phase produces wrong code
6218156 f95 8.0/8.1: -O5 cause some matrix operations to be partly omitted.
6221843 amd64: IROPT fails to vectorize C and C++ app under -xarch=amd64
6222940 UBE inline templates need to recognize %cr
6213480 IROPT should delete unnecessary casts and fold integer arithmetic
6224096 x86: Incorrect Offset for Argument Segment after iropt cloning
6223325 '[get_emits]:ube: internal error' when compiling Xorg/Mesa with -xO4
6223034 Need option for saving register arguments on amd64
6221990 ube loops forever building X
6225116 unreachable expression causing segfault is hoisted outside the loop
6203360 AMD64: [harness_clearance]:ube: internal error
6215239 redundant stores to bitfields not removed under -xarch=amd64
6224116 AMD64: ube: error: Assert has been violated at ipar.c 2956
6212039 AMD: incorout w -xO5 -iropt -xarch=amd64
6212198 amd64, 386: Wrong result while invoking procedure call with equivalenced variable as actual arg
ument
6217494 optimizer (ube) goes into infinite CPU burn-cycle w/ sse2 inline template code
6209348 AMD64: OMP-F: incorrect result when using nint with -xopenmp -xarch=amd64
6228858 x86: unnecessary addl instructions generated
6223575 FIXED Assert error in cfg.c using -g in UBE
6204446 vararg usage causes Assert  at ube/translator/src/post_gen.c:1176
6211190 Yabe should do complex multiplication promoting single precision floats to double precision.

Patch Installation Instructions:
--------------------------------
For Solaris 7-10 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, September 2, 2005

