Patch-ID# 121017-01

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: c++ 5.8 compiler sun studio 11
Synopsis: Sun Studio 11: Patch for Sun C++ 5.8 compiler
Date: Dec/16/2005


Install Requirements: NA                      
                      
Solaris Release: 8 9 10

SunOS Release: 5.8 5.9 5.10

Unbundled Product: Sun Studio 11 C++ Compiler

Unbundled Release: 5.8

Xref: 

Topic: 

Relevant Architectures: sparc

BugId's fixed with this patch: 4884025 5059765 5067432 5073793 6221536 6244102 6264823 6288439 6301803 6302735 6304357 6304762 6305792 6306995 6307739 6309042 6309244 6309790 6310691 6313010 6315142 6316019 6316185 6317249 6319635 6319741 6322691 6324182 6324725 6325486 6325777 6326214 6328453 6329641 6332323 6335580 6337151 6339010 6339605 6344225 6345860 6346186 6347520 6348680 6352241 6354370 6354922 6357166

Changes incorporated in this version: 4884025 5059765 5067432 5073793 6221536 6244102 6264823 6288439 6301803 6302735 6304357 6304762 6305792 6306995 6307739 6309042 6309244 6309790 6310691 6313010 6315142 6316019 6316185 6317249 6319635 6319741 6322691 6324182 6324725 6325486 6325777 6326214 6328453 6329641 6332323 6335580 6337151 6339010 6339605 6344225 6345860 6346186 6347520 6348680 6352241 6354370 6354922 6357166

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/CC
<install_dir>/SUNWspro/prod/bin/ccfe
<install_dir>/SUNWspro/prod/include/CC/Cstd/algorithm
<install_dir>/SUNWspro/prod/include/CC/Cstd/algorithm.cc
<install_dir>/SUNWspro/prod/include/CC/Cstd/fstream.cc
<install_dir>/SUNWspro/prod/include/CC/Cstd/iostream
<install_dir>/SUNWspro/prod/include/CC/Cstd/istream
<install_dir>/SUNWspro/prod/include/CC/Cstd/rw/tree
<install_dir>/SUNWspro/prod/include/CC/stlport4/limits
<install_dir>/SUNWspro/prod/include/CC/stlport4/stl/_num_put.c
<install_dir>/SUNWspro/prod/lib/libCrun.a
<install_dir>/SUNWspro/prod/lib/libCstd.a
<install_dir>/SUNWspro/prod/lib/libCstd.inst
<install_dir>/SUNWspro/prod/lib/libp/libCrun.a
<install_dir>/SUNWspro/prod/lib/libp/libCstd.a
<install_dir>/SUNWspro/prod/lib/stlport4/libp/libstlport.a
<install_dir>/SUNWspro/prod/lib/stlport4/libstlport.a
<install_dir>/SUNWspro/prod/lib/stlport4/libstlport.so.1
<install_dir>/SUNWspro/prod/lib/stlport4/libstlport_dbg.a
<install_dir>/SUNWspro/prod/lib/stlport4/v9/libp/libstlport.a
<install_dir>/SUNWspro/prod/lib/stlport4/v9/libstlport.a
<install_dir>/SUNWspro/prod/lib/stlport4/v9/libstlport.so.1
<install_dir>/SUNWspro/prod/lib/stlport4/v9/libstlport_dbg.a
<install_dir>/SUNWspro/prod/lib/v8plus/libCstd.a
<install_dir>/SUNWspro/prod/lib/v8plus/libp/libCstd.a
<install_dir>/SUNWspro/prod/lib/v9/libCrun.a
<install_dir>/SUNWspro/prod/lib/v9/libCstd.a
<install_dir>/SUNWspro/prod/lib/v9/libiostream.a
<install_dir>/SUNWspro/prod/lib/v9/libp/libCrun.a
<install_dir>/SUNWspro/prod/lib/v9/libp/libCstd.a
<install_dir>/SUNWspro/prod/lib/v9/libp/libiostream.a

Problem Description:

4884025 requirement for accessibly copy constr not enforced
5059765 Template matching regression in C++ 5.5 patch 113817-05/08 and 5.6
5067432 compiler allowd indirect implicit instantiation of abstract class
5073793 inlining incorrectly suppresses access error of private member variables
6221536 typedef as member of class template in nested template instantiation
6244102 Compiler does not detect ambiguities
6264823 CC fails to compile a program
6288439 == args converted to bool
6301803 value in unary expression not promoted to int
6302735 Compiler error compiling code with two comma-separated deletes
6304357 Type conversion ambiguity not detected
6304762 BOOST: Need to allow references to static from within templates
6305792 member templates: compiler not able to find a match
6306995 Type conversion ambiguity not detected on deep derived class
6307739 ccfe continues processing even for bad combination of options
6309042 invalid access of private member from non-member function
6309244 explicit instantiation does not instantiate nested class
6309790 testcase E6295110 failed during compilation with Fatal error
6310691 Uninitialized fields in IR
6313010 BOOST: Assertion:   (../lnk/init.cc, line 1032)
6315142 Types defined by typedef are considered as unpromoted
6316019 Attempting to create an array of abstract class type should fail type deduction
6316185 member templates and overload resolution
6317249 Compiler errors in evaluating the default parameters with circular
6319635 stream_rmutex::rmutex_init() should call pthread_mutexattr_destroy()
6319741 STLport header warning include/CC/stlport4/stl/_istream.h", line 118: 
6322691 suppress Warning: Could not find source for std::_LimG<bool>::_D_inf
6324182 C++ 5.7 - Assertion:   (../lnk/emitexpression.cc, line 405)
6324725 Error: The operation "const char* - Y_136Y_151" is illegal
6325486 incorrect result when template specialization function is inlined
6325777 ccfe dies with Signal 11
6326214 "Assertion:   (../lnk/storage.cc, line 99)", when compiling template
6328453 BOOST specialization bug
6329641 __rb_tree::operator=() does not store rhs comparison object in lhs
6332323 istrstream operator>>() modifies target even if input is invalid
6335580 enum in template not recognized as integere constant expression
6337151 stlport prints garbage value for LLONG_MIN
6339010 SEGV during destruction of exception object containing a deque
6339605 Problem with implicit type convertions
6344225 Does not differentiates casts to base classes on different
6345860 extra copy ctor in conditional ?: expression
6346186 Incorrect application behavior with -xO3
6347520 BOOST: problem with numeric_limits<long double> in stlport
6348680 inaccessible copy constructor not diagnosed
6352241 fails to detect access to private class member
6354370 compiler incorrectly flagging as error static_cast to convert
6354922 ofstream::close() method does not fail if it fails to flush the buffer to disk
6357166 incorrect overloading ambiguity

Patch Installation Instructions:
--------------------------------
For Solaris 8-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, December 16, 2005

