Patch-ID# 117549-04 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++ sun studio 9 Synopsis: C++ 5.6: patch for Sun Studio 9 C++ Compiler Date: Nov/17/2005 Install Requirements: NA Solaris Release: 8 9 10 SunOS Release: 5.8 5.9 5.10 Unbundled Product: Sun Studio 9 C++ Compiler Unbundled Release: 5.6 Xref: Topic: Relevant Architectures: sparc BugId's fixed with this patch: 4517905 4811728 4861983 4889221 5008324 5011420 5014061 5017293 5029029 5032726 5036353 5037838 5040574 5041517 5041613 5041951 5049960 5053579 5053671 5057297 5059765 5062954 5062962 5063595 5064807 5065625 5065908 5075002 5077504 5102719 6174093 6186857 6191101 6191581 6193249 6195868 6197269 6216319 6216369 6216629 6227232 6233892 6234584 6235039 6244223 6244485 6250573 6265671 6269939 6283965 6286320 6304703 6323485 6326214 6329641 6332323 Changes incorporated in this version: 6216629 6250573 6265671 6304703 6323485 6326214 6329641 5059765 6332323 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/prod/bin/CC /SUNWspro/prod/bin/ccfe /SUNWspro/prod/include/CC/Cstd/algorithm /SUNWspro/prod/include/CC/Cstd/algorithm.cc /SUNWspro/prod/include/CC/Cstd/istream /SUNWspro/prod/include/CC/Cstd/istream.cc /SUNWspro/prod/include/CC/Cstd/rw/stdmutex.h /SUNWspro/prod/include/CC/Cstd/rw/string_ref /SUNWspro/prod/include/CC/Cstd/rw/tree /SUNWspro/prod/include/CC/Cstd/rw/tree.cc /SUNWspro/prod/include/CC/Cstd/stdcomp.h /SUNWspro/prod/lib/CC4/libCsunimath.a /SUNWspro/prod/lib/libCrun.a /SUNWspro/prod/lib/libCstd.a /SUNWspro/prod/lib/libCstd.inst /SUNWspro/prod/lib/libCsunimath.a /SUNWspro/prod/lib/libCsunimathios.a /SUNWspro/prod/lib/libp/libCrun.a /SUNWspro/prod/lib/libp/libCstd.a /SUNWspro/prod/lib/stlport4/libp/libstlport.a /SUNWspro/prod/lib/stlport4/libstlport.a /SUNWspro/prod/lib/stlport4/libstlport_dbg.a /SUNWspro/prod/lib/stlport4/v9/libp/libstlport.a /SUNWspro/prod/lib/stlport4/v9/libstlport.a /SUNWspro/prod/lib/stlport4/v9/libstlport_dbg.a /SUNWspro/prod/lib/v8plus/libCstd.a /SUNWspro/prod/lib/v8plus/libp/libCstd.a /SUNWspro/prod/lib/v9/libCrun.a /SUNWspro/prod/lib/v9/libCstd.a /SUNWspro/prod/lib/v9/libCsunimath.a /SUNWspro/prod/lib/v9/libCsunimathios.a /SUNWspro/prod/lib/v9/libp/libCrun.a /SUNWspro/prod/lib/v9/libp/libCstd.a Problem Description: 5059765 Template matching regression in C++ 5.5 patch 113817-05/08 and 5.6 6216629 OpenMP-C++: privatisation of variable conflicts w/ template initialization 6250573 CC 5.5, 5.6, 5.7 incorrectly creates multiple instances of static template variables 6265671 Invalid use of default template parameter not detected 6304703 sort() hang in libCstd 6323485 Incorrect data generated with try-catch statements 6326214 "Assertion: (../lnk/storage.cc, line 99)", when compiling template code 6329641 __rb_tree::operator=() does not store rhs comparison object in lhs 6332323 istrstream operator>>() modifies target even if input is invalid (from 117549-03) 5062954 "explicit" ignored when converting constructor needed 6195868 BOOST: Assertion: unhandled expression (../lnk/v2mangle r.cc, line 1585 6197269 DROPS: mismatched names on template function parameters don't compile 6216319 overloading of template conversion function 6216369 template function parameter default expressions incorrect 6227232 Wrong overload resolution for builtin operators in the presence of user-defined conversion-operator 6233892 Assertion: (../lnk/init.cc, line 1004) 6234584 incorrect ambiguity error in overloading with ptr-to-member and ptr-to-func 6235039 BOOST: wrong resolution function-style cast and constructor call 6244223 Unreasonably amount of time spent in _memcpy 6244485 bogus error about adding default default function parameter values in template function 6269939 Cafe dumps core on a simple testcase 6283965 Compiler could not find a match for constructor 6286320 C++ Overloading Ambiguity (from 117549-02) 5008324 memory leaks in libCstd.so 5014061 interval type constructor is not found when compiled with -compat=4 5049960 While building shared objects the link option -library=stlport4 doesn't work. 5065908 incorrect mixed-mode arithmetic 5077504 compiler doesn't check new(std::nothrow) for zero return 5102719 Invalid use of "template" qualifier accepted 6174093 Template Could not find a match 6186857 C++ compiler should emit dependency info for make .KEEP_STATE purposes for templates, but doesn't 6191101 Avoid link type conflict for clog 6191581 missing "typename" on template parameter causes incorrect behavior 6193249 signed int template parameter becomes unsigned int for bitfields. (from 117549-01) 4517905 spurious error when compiling Tools.h++ test case 4811728 Debugging a 64-bit executable using RTC shows RUI error 4861983 allow elaborated type specifiers to use template_id 4889221 interval nvector scales poorly 5011420 incorrect warning about abort() as a member function 5017293 CC can't compiler aspell code that compatible with gcc 5029029 macro definition confuses #pragma weak processing 5032726 anonymous structs with bitfields update wrong word 5036353 friend declaration does not work 5037838 int a, foo(int); doesn't compile 5040574 Vulcan: ccfe cut off bitfield constant in 64-bit mode 5041517 static local vars in static inline funcs are globalized 5041613 No error for needed class being an incomplete type 5041951 std::string destructor abort on freeing memory in multithreaded environment 5053579 -mt or -xautopar -xO3 causes runtime hanging in mercury & venus 5053671 warning about no return value sometimes disappears 5057297 build libstlport.a with PIC 5062962 Problem with partial template specialization 5063595 wrong C++ operator called 5064807 Compiler not resolving overloaded function correctly 5065625 assertion failure in ir_util.cc 5075002 template metaprogramming compiler bug 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: Wednesday, December 7, 2005