Patch-ID# 107312-19 Keywords: C++ CC 5.0 SC5.0 Synopsis: C++ 5.0_x86: Patch for C++ 5.0 compiler Date: Oct/30/2002 Install Requirements: None Solaris Release: 2.5.1_x86 2.6_x86 7_x86 8_x86 SunOS Release: 5.5.1_x86 5.6_x86 5.7_x86 5.8_x86 Unbundled Product: C++ Unbundled Release: 5.0 Xref: Topic: Relevant Architectures: i386 BugId's fixed with this patch: 1189572 1261797 4005207 4015526 4046014 4048365 4049673 4058012 4068365 4071720 4080243 4081581 4085488 4095591 4101606 4105648 4123883 4132688 4151421 4172984 4176535 4177468 4178769 4180936 4181400 4183437 4184235 4185570 4186105 4187277 4187536 4187728 4189351 4190043 4193618 4194200 4194203 4194310 4194641 4195060 4195218 4195240 4195247 4195588 4195853 4196630 4196751 4197057 4197753 4197789 4199033 4199586 4199652 4199853 4199857 4199924 4199940 4200002 4200074 4200150 4200151 4200973 4200979 4201885 4202575 4202626 4202767 4204428 4204434 4205586 4206114 4206657 4206937 4207191 4207232 4207661 4209436 4210701 4212445 4216319 4217004 4217525 4221261 4221664 4223326 4224020 4224951 4225760 4225998 4226134 4226393 4226634 4227111 4227577 4227692 4229612 4230183 4230398 4230405 4230996 4232241 4232284 4232326 4232826 4233721 4233998 4234051 4234362 4234435 4234483 4234544 4234617 4234938 4235240 4235362 4235978 4236045 4236334 4236761 4236897 4237873 4237903 4237957 4238767 4238951 4239488 4240772 4240862 4242930 4243133 4243504 4243821 4244475 4244513 4245607 4245658 4246014 4246595 4246601 4246603 4246609 4246610 4246643 4246648 4246649 4246650 4246654 4246658 4246665 4246673 4246944 4247636 4247650 4248010 4249167 4249808 4250252 4250946 4251207 4251248 4251261 4252098 4253677 4254380 4254406 4254667 4256222 4256604 4257032 4257840 4258157 4259812 4260459 4260505 4261686 4262944 4263363 4263364 4263370 4266306 4266574 4268029 4270571 4270710 4271269 4271402 4272071 4272179 4272719 4273054 4274063 4274127 4274418 4275374 4276318 4277042 4278297 4279882 4280541 4280725 4281127 4281785 4282311 4283511 4283808 4285450 4286388 4286857 4287167 4287895 4288336 4288349 4289626 4290257 4290796 4293913 4294185 4294206 4294209 4294212 4294947 4295431 4295447 4295739 4296357 4296563 4296926 4296927 4297737 4297904 4299920 4301087 4301536 4303129 4304263 4305295 4306581 4306728 4308521 4309593 4309617 4313252 4313828 4314671 4316990 4317049 4318615 4319391 4320759 4322743 4337429 4347229 4347423 4356420 4358092 4367632 4368049 4368974 4371609 4373173 4376786 4380359 4383064 4384942 4388120 4391514 4395194 4399456 4400676 4413674 4414478 4436982 4445602 4458714 4483391 4487348 4488599 4502514 4502968 4510146 4519244 4520401 4522918 4522954 4589227 4637199 4639493 4669810 4702100 4731742 Changes incorporated in this version: 4519244 4702100 4731742 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 107830-02 or greater Obsoleted by: Files included with this patch: /SUNWspro/SC5.0/bin/CC /SUNWspro/SC5.0/bin/CCadmin /SUNWspro/SC5.0/bin/CClink /SUNWspro/SC5.0/bin/c++filt /SUNWspro/SC5.0/bin/ccfe /SUNWspro/SC5.0/bin/dem /SUNWspro/SC5.0/htmldocs/locale/C/gc/manual-15.htm /SUNWspro/SC5.0/htmldocs/locale/C/gc/manual-17.htm /SUNWspro/SC5.0/include/CC/algorithm /SUNWspro/SC5.0/include/CC/algorithm.cc /SUNWspro/SC5.0/include/CC/bitset /SUNWspro/SC5.0/include/CC/bitset.cc /SUNWspro/SC5.0/include/CC/complex /SUNWspro/SC5.0/include/CC/complex.cc /SUNWspro/SC5.0/include/CC/compnent.h /SUNWspro/SC5.0/include/CC/deque /SUNWspro/SC5.0/include/CC/deque.cc /SUNWspro/SC5.0/include/CC/exception /SUNWspro/SC5.0/include/CC/fstream /SUNWspro/SC5.0/include/CC/fstream.cc /SUNWspro/SC5.0/include/CC/fstream.h /SUNWspro/SC5.0/include/CC/functional /SUNWspro/SC5.0/include/CC/generic.h /SUNWspro/SC5.0/include/CC/iomanip /SUNWspro/SC5.0/include/CC/iomanip.h /SUNWspro/SC5.0/include/CC/ios /SUNWspro/SC5.0/include/CC/ios.cc /SUNWspro/SC5.0/include/CC/iosfwd /SUNWspro/SC5.0/include/CC/iostream /SUNWspro/SC5.0/include/CC/iostream.h /SUNWspro/SC5.0/include/CC/istream /SUNWspro/SC5.0/include/CC/istream.cc /SUNWspro/SC5.0/include/CC/iterator /SUNWspro/SC5.0/include/CC/limits /SUNWspro/SC5.0/include/CC/list /SUNWspro/SC5.0/include/CC/list.cc /SUNWspro/SC5.0/include/CC/locale /SUNWspro/SC5.0/include/CC/map /SUNWspro/SC5.0/include/CC/memory /SUNWspro/SC5.0/include/CC/new /SUNWspro/SC5.0/include/CC/numeric /SUNWspro/SC5.0/include/CC/ostream /SUNWspro/SC5.0/include/CC/ostream.cc /SUNWspro/SC5.0/include/CC/queue /SUNWspro/SC5.0/include/CC/rw/codecvt /SUNWspro/SC5.0/include/CC/rw/codecvt.cc /SUNWspro/SC5.0/include/CC/rw/collate /SUNWspro/SC5.0/include/CC/rw/collate.cc /SUNWspro/SC5.0/include/CC/rw/ctype /SUNWspro/SC5.0/include/CC/rw/ctype.cc /SUNWspro/SC5.0/include/CC/rw/iosbase /SUNWspro/SC5.0/include/CC/rw/iotraits /SUNWspro/SC5.0/include/CC/rw/iterator /SUNWspro/SC5.0/include/CC/rw/iterator.cc /SUNWspro/SC5.0/include/CC/rw/lochelp /SUNWspro/SC5.0/include/CC/rw/locimpl /SUNWspro/SC5.0/include/CC/rw/locimpl.cc /SUNWspro/SC5.0/include/CC/rw/locvector /SUNWspro/SC5.0/include/CC/rw/math.h /SUNWspro/SC5.0/include/CC/rw/messages /SUNWspro/SC5.0/include/CC/rw/messages.cc /SUNWspro/SC5.0/include/CC/rw/money /SUNWspro/SC5.0/include/CC/rw/money.cc /SUNWspro/SC5.0/include/CC/rw/numbrw /SUNWspro/SC5.0/include/CC/rw/numbrw.cc /SUNWspro/SC5.0/include/CC/rw/numeral /SUNWspro/SC5.0/include/CC/rw/numeral.cc /SUNWspro/SC5.0/include/CC/rw/random.h /SUNWspro/SC5.0/include/CC/rw/rwcats.h /SUNWspro/SC5.0/include/CC/rw/rwdispatch.h /SUNWspro/SC5.0/include/CC/rw/rwlocale /SUNWspro/SC5.0/include/CC/rw/rwlocale.cc /SUNWspro/SC5.0/include/CC/rw/rwstderr.h /SUNWspro/SC5.0/include/CC/rw/rwstderr_macros.h /SUNWspro/SC5.0/include/CC/rw/stddefs.h /SUNWspro/SC5.0/include/CC/rw/stdmutex.h /SUNWspro/SC5.0/include/CC/rw/string_ref /SUNWspro/SC5.0/include/CC/rw/time /SUNWspro/SC5.0/include/CC/rw/time.cc /SUNWspro/SC5.0/include/CC/rw/traits /SUNWspro/SC5.0/include/CC/rw/tree /SUNWspro/SC5.0/include/CC/rw/tree.cc /SUNWspro/SC5.0/include/CC/rw/usefacet /SUNWspro/SC5.0/include/CC/rw/valimp /SUNWspro/SC5.0/include/CC/rw/valimp.cc /SUNWspro/SC5.0/include/CC/rw/vendor /SUNWspro/SC5.0/include/CC/set /SUNWspro/SC5.0/include/CC/sstream /SUNWspro/SC5.0/include/CC/sstream.cc /SUNWspro/SC5.0/include/CC/stack /SUNWspro/SC5.0/include/CC/std/cassert /SUNWspro/SC5.0/include/CC/std/cctype /SUNWspro/SC5.0/include/CC/std/cerrno /SUNWspro/SC5.0/include/CC/std/cfloat /SUNWspro/SC5.0/include/CC/std/ciso646 /SUNWspro/SC5.0/include/CC/std/climits /SUNWspro/SC5.0/include/CC/std/clocale /SUNWspro/SC5.0/include/CC/std/cmath /SUNWspro/SC5.0/include/CC/std/csetjmp /SUNWspro/SC5.0/include/CC/std/csignal /SUNWspro/SC5.0/include/CC/std/cstdarg /SUNWspro/SC5.0/include/CC/std/cstddef /SUNWspro/SC5.0/include/CC/std/cstdio /SUNWspro/SC5.0/include/CC/std/cstdlib /SUNWspro/SC5.0/include/CC/std/cstring /SUNWspro/SC5.0/include/CC/std/ctime /SUNWspro/SC5.0/include/CC/std/ctype.h /SUNWspro/SC5.0/include/CC/std/cwchar /SUNWspro/SC5.0/include/CC/std/cwctype /SUNWspro/SC5.0/include/CC/std/errno.h /SUNWspro/SC5.0/include/CC/std/exception.h /SUNWspro/SC5.0/include/CC/std/float.h /SUNWspro/SC5.0/include/CC/std/iso646.h /SUNWspro/SC5.0/include/CC/std/locale.h /SUNWspro/SC5.0/include/CC/std/math.h /SUNWspro/SC5.0/include/CC/std/memory.h /SUNWspro/SC5.0/include/CC/std/new.h /SUNWspro/SC5.0/include/CC/std/setjmp.h /SUNWspro/SC5.0/include/CC/std/signal.h /SUNWspro/SC5.0/include/CC/std/stdarg.h /SUNWspro/SC5.0/include/CC/std/stddef.h /SUNWspro/SC5.0/include/CC/std/stdio.h /SUNWspro/SC5.0/include/CC/std/stdlib.h /SUNWspro/SC5.0/include/CC/std/string.h /SUNWspro/SC5.0/include/CC/std/sysent.h /SUNWspro/SC5.0/include/CC/std/time.h /SUNWspro/SC5.0/include/CC/std/typeinfo.h /SUNWspro/SC5.0/include/CC/std/wchar.h /SUNWspro/SC5.0/include/CC/std/wctype.h /SUNWspro/SC5.0/include/CC/stdcomp.h /SUNWspro/SC5.0/include/CC/stdexcept /SUNWspro/SC5.0/include/CC/streambuf /SUNWspro/SC5.0/include/CC/streambuf.cc /SUNWspro/SC5.0/include/CC/string /SUNWspro/SC5.0/include/CC/string.cc /SUNWspro/SC5.0/include/CC/strstream /SUNWspro/SC5.0/include/CC/strstream.h /SUNWspro/SC5.0/include/CC/typeinfo /SUNWspro/SC5.0/include/CC/utility /SUNWspro/SC5.0/include/CC/valarray /SUNWspro/SC5.0/include/CC/valarray.cc /SUNWspro/SC5.0/include/CC/vector /SUNWspro/SC5.0/include/CC/vector.cc /SUNWspro/SC5.0/lib/CC4/libC.a /SUNWspro/SC5.0/lib/CC4/libp/libC.a /SUNWspro/SC5.0/lib/libC_mtstubs.a /SUNWspro/SC5.0/lib/libCrun.a /SUNWspro/SC5.0/lib/libCstd.a /SUNWspro/SC5.0/lib/libCstd.inst /SUNWspro/SC5.0/lib/libdemangle.a /SUNWspro/SC5.0/lib/libgc.a /SUNWspro/SC5.0/lib/libgc.so.1 /SUNWspro/SC5.0/lib/libgc_dbg.a /SUNWspro/SC5.0/lib/libgc_dbg.so.1 /SUNWspro/SC5.0/lib/libiostream.a /SUNWspro/SC5.0/lib/libp/libC_mtstubs.a /SUNWspro/SC5.0/lib/libp/libCrun.a /SUNWspro/SC5.0/lib/libp/libCstd.a /SUNWspro/SC5.0/lib/libp/libdemangle.a /SUNWspro/SC5.0/lib/libp/libgc.a /SUNWspro/SC5.0/lib/libp/libgc_dbg.a /SUNWspro/SC5.0/lib/libp/libiostream.a /SUNWspro/SC5.0/lib/rw7/CC4/libp/librwtool.a /SUNWspro/SC5.0/lib/rw7/CC4/librwtool.a /SUNWspro/SC5.0/lib/rw7/CC4/librwtool.so.2 /SUNWspro/SC5.0/lib/rw7/CC4/librwtool_dbg.a /SUNWspro/SC5.0/lib/rw7/libp/librwtool.a /SUNWspro/SC5.0/lib/rw7/librwtool.a /SUNWspro/SC5.0/lib/rw7/librwtool.so.2 /SUNWspro/SC5.0/lib/rw7/librwtool_dbg.a Problem Description: 4519244 C++ 5.2/5.3 does not write/interpret SunWS_cache/CC_state correctly. 4702100 rui error in std::__iterator_category 4731742 valarray specialization, 5.0p13 vs. 5.0p17 (from 107312-18) 4669810 Template cache not updated correctly. (from 107312-17) 4271402 typeid() leaks memory 4445602 WorkShop 5.0 C++ compiler passes stack objects incorrectly with -g0 4488599 incremental compiling fails on template with inline function 4520401 compiler generates over optimized code for constructor of temporary object 4522918 workshop 5.0 complaining about undefined symbols. 4589227 phys. read() is suboptimal in ifstream::getline()/libC 4637199 Standard lib headers inclusion gives different FILE def on Solaris 2.5.1 and 2.6 4639493 C++ 5.0 : RTTI of templated class yields unresolved symbols (from 107312-16) 4522954 Error: Cannot cast from long to const long&. (from 107312-15) 4413674 JNI has problems with libCstd 4483391 inlining problem w/ 107311-13 when using different constructors and inheritance 4487348 C++ 5.0: Compiled code with multiple inheritance and virtual functions seg fault 4502514 107311-14 BAD: does not install correctly if no previous revision is installed. 4502968 value parameter not destroyed when function exits via exception 4510146 SC 5.0, reports C compiler errors in "time.h", after installation of 107311-14 (from 107312-14) 4399456 compiler using incorrect operator definition 4458714 C++ 5.0 calls an invalid constructor (from 107312-13) 4380359 STL std::find algorithm requires != operator 4383064 STL vector::resize returns uninitialized memory 4384942 string::npos missing from libCstd 4388120 Use of a remote directory causes template link time problems 4391514 change in input file name changes ccfe exception processing 4395194 Failure to instantiate RTTI symbols 4400676 exception not caught due to weak RTTI reference to definition in library 4414478 Symbolic links cause symbols to be left out of libraries 4436982 C++ 5.0 list<>::merge() mismatch argument in list.cc (__x instead of x) (from 107312-12) 4253677 RTTI of templated class yields unresolved symbols 4337429 Template instantiation problem with C++ 5.0 4347229 wstring::find_first_not_of() gives a wrong value 4356420 template overloading ambiguity error 4358092 demangler returns 0 size for unqual_name in abi1 4368049 Missing member function list::remove_if not fixed in patch -11 4368974 string assignment after update gives wrong answer 4367632 Virtual function code cores after installation of 107311-11 4376786 Regression in multiple inheritance in patch 107311-11 4371609 Compiler loops on default parameter passed by value 4373173 compiler/linker cannot resolve an rtti symbol when using typeid() nobugid fix memory leak introduced by previous fix to bug 4296357 (from 107312-11) 4071720 Definition of static data member of class template is not recognised. 4200973 std::string::npos not treated as integer constant 4238951 pointer value prints without leading 0x in standard mode 4240772 Compiler erroneously resolving to the boolean constructor 4246595 denorm_min returns negative value 4246601 basic_string constructor core dumps 4246603 bitset.count() does not work when its size is not 8bit-multiple 4246610 time_get::do_get_date core dumps 4246643 std::message_base::catalog should be int 4246648 basic_string::find_last_of does not work 4246649 set::difference_type should be of *signed* integral type 4246650 time_put::put core dumps 4246654 basic_istream::get does not call setstate(failbit) 4246658 basic_ifstream does not set failbit while closing unopened stream 4246665 header is not self-contained 4246673 valarray::shift core dumps on negative parameter 4263364 C++ 5.0 Compiler, Problem with the mechanisms for multiple inheritance 4263370 Incorrect declaration of __rb_tree::equal_range() in 4270710 128 character limit on initial output to basic_ostream 4274127 C++ 5.0 cannot compile if files are mounted from an SGI NFS server 4286388 Empty vector SEGVs when asked to erase empty vector from begin() 4287167 inputting into 'string' object loses whitesapce character 4287895 ccfe uses undefined labels in dead code of nested catch-handler 4296357 overloaded vector new operator is not called 4301087 problem with replacing string data with empty string 4305295 assertion failure in ftemplate.cc 4308521 str(mystring) function in ostringstream doesn't work 4309593 compiler generates an assertion error: (../links/bindcall.cc, line 852) 4313252 missing vtable for template code with -instances=explicit 4313828 ostrstream constructor corrupts memory 4314671 Program with complex class hierarchy core dumps 4316990 digits10 is not usable as an integral constant 4317049 Set missing implicit conversion between const_iterator and iterator 4318615 Missing member function: list::remove_if 4319391 std::ws is not found w/o std:: qualfier 4320759 C++ 5.0 compiler dumps core if nested try and catch blocks are used 4322743 object size for operator delete is invalid when thrown in constructor 4347423 Build 5.0 libCstd.a with -KPIC (from 107312-10) 4015526 Compiler improperly mangles anonymous enumeration types. 4046014 Dynamic initializer for struct gives bad data in inline member function 4048365 Problem with inlining a function 4085488 C++ 4.2: destructor not called when constructor throws exception 4151421 fails to destruct a temporary after exception 4180936 fails to destruct a temporary after exception 4194203 Regression in test E4151421 (?) : Object not destructed during exception cleanup 4205586 C++ compiler hangs 4224020 Miscompile of inline function 4234544 C++ exception handling causing Bus Error 4236897 c++ exception handling calls destructors incorrectly 4239488 cv-qualifier inconsistently included in function signature 4242930 Destructor not called in order for local variable inside a destructor 4250252 In C++ 5.0, Exception handler incorrect in inner-block and inlined constructors 4272179 member dtor not called when ctor exits via exception and inlining is off 4272719 ld error with -instance=semiexplicit 4276318 compiler produces a const reference in the mangling 4277042 memory leaks in C++ library (libCstd) 4279882 Incorrect logical operator evaluation in non-optimized programs 4280725 typedefs have an impact on mangled name with C++ 5.0 4281127 C++ 5.0 ccfe hung while compiling inline template function 4282311 standard stream filebufs destroyed prematurely 4285450 memory leak when destructors are called more than once in C++ 5.0 compilers. 4288336 explicit template specializations cause link error 4288349 problem with inlining and ?: operator 4290796 (undefined symbol) with use of -instances=semiexplicit 4293913 using -g produce signal 11 during compiling 4294185 array data member not cleaned up when throw from a constructor 4294206 Mangling/link error when using typedefs 4294209 Throwing an exception causes destructor to be called for non-constructed object 4294212 Exception thrwon from constructor not destroying constructed data members 4294947 if(0) branch accessed in nested if-clause of inline fct 4295431 inconsistent ABI-1 name mangling of const arrays 4295447 Exception event incorrectly inlined in if-statement 4295739 CClink dumps core 4296563 inline operator delete causes compilation error 4297737 C++ instances=static fails to compile to binary 4297904 compiler dies with signal 10 4299920 problem with cout/cin used in shared library built with -Bsymbolic 4301536 program using istrstream::putback() coredumps with -library=iostream 4303129 ccfe front end goes into an infinite loop 4304263 C++ generates incorrect reference 4306581 incorrect inlining for non-symmetric if statements 4306728 The 107311-09 patch broke the CCadmin -info 4309617 errors when trying to use make_pair template members. (from 107312-09) 4049673 c++filt does not close files 4068365 Bad message from C++ filt 4081581 cplus_demangle doesn't null terminate when returning DEMANGLE_ENAME 4266574 quick demangler returns DEM_ERR_RESERVED 4274063 setiosflags missing from 4283511 conversion function not properly reconized resulting in iilegal operation error 4283808 can't compile: can't compute value of an expression involving an external symbol 4286857 cast operator declared in the template class should allow automatic cast 4289626 C++ prototypes for wcschr/wcspbrk/wcsrchr/wcsstr/wmemchr missing in C++ header 4296926 setfill missing in 4296927 streampos missing in (from 107312-08) 4234938 Increment operator breaks when using SC5.0 C++ with -g option 4290257 Unexpected op in yExpandV9() in sparc.c 4176535 5.0 compiler incorrectly reports overload ambiguity 4184235 memdb cannot find libgc_dbg.so 4226134 "explicit" keyword ignored 4230183 compiler failed with "Error: Non-const function XXX() called for const object." 4235362 uncaught_exception returns true when no exception thrown 4246944 ccfe dumps core when no more licenses are avilable 4256222 5.0 implementation of Standard regarding access control 4256604 CC -compat=4 Template Function Specialization linking problem 4257032 program using vector.push_back() coredumps 4266306 C++ program no longer reads from fstream after std::getline() reads empty line 4268029 C++ 5.0 errors out on a constant expression 4271269 bug in C++ 5.0 deque::erase() stl implementation 4272071 Problem with default template argument used in a namespace 4273054 pthread_exit() when called from a c++ function, empty throw list, dumps core 4274418 libCstd should be built with the macro _RWSTD_NO_TEST_AND_SET defined 4275374 classes derived from structures do not copy construct or assign correctly 4278297 tanh in libcomplex is not returning correct results 4280541 getline tries to read an extra character 4281785 C++ 5.0 FCS compiler crashes w/ assertion when compiled for v9 (from 107312-07) 4187728 some dbx demangler query functions are incorrect for operators in ABI 1 4207232 Intantiation of template does not happen for second run 4227111 SC5.0 C++ fbe: cant compute value of an expression involving an external symbol 4240862 failure to diagnose qualified member declarations in templates 4243133 SC5,0 C++: Undefined symbol __SLIP.DELETER__C 4245658 Changes to template source may not be picked up by compiler 4252098 5.0 C++ compiler generates incorrect code for passing structure parameters 4254380 Bad linkage for explicit inline member of local class in extern "C" function 4254667 The version 5.0 C++ compiler fails to optimize switch statement 4257840 c++ 5.0 is rethrowing an exception and calling unexpected signal handler 4258157 Compiler returns Error: complex* is not a structure type 4259812 CC 5.0 template friend error 4260459 C++ 5.0 Compiler out of memory/ poor performance 4260505 Problem demangling abbreviated qualifiers 4261686 compilation of file with many case statements fails with 'out of memory' 4262944 template class constructor representative is improperly tagged 4263363 C++ 5.0 Compiler, Full path to .o files does not work when path is a symbolic link 4270571 exception not being caught and core dumps (from 107312-06) 4080243 cplus_demangle() doesn't demangle const volatile member functions 4183437 demangling functions as template arguments 4195853 SC5.0 C++ generates errors about system include files 4223326 undefined symbol in libdemangle library on v9 4225998 Errors when Object files are compiled with their path name using Standard Templa 4227692 Quick Demangler operator members seem to be broken 4232826 Adding explicit parameters to template class causes invalid error 4233721 Compiling with -g using C++ 5.0 inhibits accessibility of base class members 4237957 SC5.0 cannot compile with cwchar or whar.h and string included on 5.7 4246014 compiler 5.0: bogus template match error message for template with const retrun 4247636 header file order of inclusion dependency 4247650 using directive fails 4248010 line 11: Error: R is not a member of X<>. 4249167 ld error: using -instances=semiexplicit flag with virt function den in template 4249808 Patch 107312-03 breaks customers code. 4250946 Error: The function std::operator ... has not had a body defined 4251207 c++ -x04 V5.0 is producing wrong code 4251248 wofstreams do not write properly to a file in C++ 5.0 4251261 C++ 5.0 generating wrong code 4254406 C++ 5.0: An unnamed type cannot be used as a template (from 107312-05) 1189572 dbx cannot find variable due to bad SLINE stabs 4105648 add minimal differential mangling support to compiler stabs 4181400 segmentation fault during parallel template instantiation 4227577 /usr/include/memory.h conflicts with standard C++ requirements 4229612 Template failing with C++ ver 5.0 4232284 including after causes it not to be included again 4233998 C++ 5.0 compiler is overriding the bottom part of a 32-bit pointer 4234362 WS 5.0 C++ implementation of errno causes portability problems 4234483 Compiler issues error for program using reverse_iterator 4234617 compiler goes into inclusion loop when new solaris headers are tried 4235240 Code errors out when headers not in a certain order 4235978 setjmp not defined as a macro in and 4236045 regression in template instantiation; plumhall volum5 fails 4236761 errno ambiguity with CC 5.0 4237873 does not include template classes while the repository locates in subfolder 4237903 form of C header has include order dependency 4238767 enum in C++ 5.0 gives the ambiguous error message 4243504 C++ program gets: Undefined symbols pthread_sigmask in linking 4243821 Bloat in the binary size with C++ 5.0 (partial) 4244475 App throws NullPointerExceptions after a failed publish 4244513 template semiexplicit instantiation broken in 5.0 4245607 wchar.h and map order of inclusion bug 4246609 include file order affects program compilation (from 107312-04) 4123883 Error in Exception Handling 4196751 value of 'this' not printed correctly by standard iostreams 4210701 compiler incorrectly forces instantiation of template class 4217004 C++ 5.0 redefinition of symbol error 4221261 (partial fix) C++ 5.0 compile time 5X slower than 4.2, ... 4224951 /opt/SUNWspro/bin/../SC5.0/bin/fbe: "/tmp/yabeAAA0pp5_f", line 2046: error: 4225760 5.0 not inlining templates correctly 4226393 CC -xar no longer updates the archive library. 4226634 Compiler issues bogus diagnostics 4230398 Nested templates with virtual base templates produce undefined __descr symbols 4230405 C++ 5.0 -xarch=v9 (64bit) app does not initialize properly 4230996 Signal 10: while processing the file at line 0 with C++ 5.0 4232241 C++ 5.0 problem with the stringstreams, tellp() function causing problem 4232326 can't compile template function code 4234051 -vdelx compiler option is not recognized 4234435 C++ 5.0 improperly handles external class instantiation; link errors. 4236334 In C++ templates are confused with the typedef (from 107312-03) (from 107312-02) 4221664 C++ 4.2 & 5.0 / extraneous variables cause extra memory allocation, destructor 4217525 CC issues error on correct use of global scoping on friend declaration 4204428 5.0 C++ Bug 5: template functions confused - compilation error 4207191 C++ 5.0 Compilation - Assertion failed: Signal 6 4209436 Customer code Segfaults with Signal 6 4216319 4.2 and 5.0 is making an unnecessary destructor call 4202767 C++ 5.0 - reports Undefined symol void B::func() 4206657 C++ 5.0 Code hangs in /usr/lib/libthread.so.1 4204434 C++ 5.0 - Compilation calls Signal 11 (from 107312-01) 1261797 C++ program gives wrong results with virtual functions. 4005207 Uninitialized static data (LOCL/OBJT ELF symbols) have no size using -O 4058012 segmentation fault in exeption handling (rethrow from unexpected) 4095591 C++ generates "Error: Overloading ambiguity" messages 4101606 C++ program crashes with exception in constructor when optimized 4132688 C++ 4.2 : destructor not called without -g in a exception 4172984 system segmentation faults rather than give error message 4177468 rw8: compiler fails to do default template argument substitution 4178769 Executable core dumps on Intel when compiled with -g 4185570 extern const defined in C++ do not get placed in RO memory. 4186105 Missing @> index stab 4187277 regression in handling definition of static template data members 4187536 missing class stab for class used as type 4189351 can't view contents of a struct; dbx complains about forwardref 4190043 Test E1166414 times out (x86 only) 4193618 Wide streams (wcout, et al.) not initialized properly 4194200 Old syntax for options file specializations not recognized 4194310 missing C++ versions of functions 4194641 Assertion in ./libCstd/scl_src/bitsettest/bitset with opt-g 4195060 SC5.0 -compat=4 fails with template unless compiled -g 4195218 "./a.out" results in a segV when "a.out" works 4195240 CC 5.0 issues diagnostic on correct code, involving templates 4195247 Operator overload resolution for classes 4195588 regression in test ./stl_ospace/stl/binsrch2 compat=4 intel 4196630 ./driver/opt-xa: -xa not working correctly 4197057 SUNW_SPRO_SC_libCstd.cat has to be there even on C locale 4197753 compiler generates code which core dumps in __STATIC_CONSTRUCTOR 4197789 iostream includes math.h and pollutes the global namespace 4199033 errors in implementation of C++ versions of C standard headers 4199586 redefinition of symbol ".L0" 4199652 Missing class name in class declaration stabs 4199853 strange warning when printing integers 4199857 Missing symbols from libCrun.so.1 4199924 pragma pack(x) does not work 4199940 Assertion violation on static object initialization 4200002 Legacy iostream version of ostream << complex implementation doesn't compile 4200074 mutable not supported 4200150 wrong '}' in climits 4200151 Absent generic.h 4200979 wrong namespace scope in cwchar for __FILE 4201885 overloaded functions in namespaces can't be defined outside the namespace 4202575 CC driver is not passing prof_lib.o to ld 4202626 Incorrect template name in function template instance (YIf) stabs 4206114 when source file is 'touched' or modified templates not regenerated 4206937 standard C++ header file guards don't work with Solaris 8 4207661 F&C requires repository in current directory and not in the dir of output file 4212445 Assertion: unexpected topsym_builder::visit_nosym (../links/v2mangler.cc, line Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch." For Solaris 7 release, 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: ----------------------------- Due to the size of this patch, it can require a maximum of 133 MB of free space in the /var partition to install properly. To help minimize this, you can specify a different location where the information is stored that will allow you to back out this patch. On Solaris 2.6 and Solaris 7, please see the -B option description in the patchadd man page. On Solaris 2.5.1, please see the instructions in the "Install.info" file that is part of this patch. Please note that this patch requires a compiler common components patch to be installed. The patch number is 107830-02. Please note 107830-02 patch is appliable on Solaris 8_x86 even the README of 107830-02 does not include Solaris 8_x86 as supported OS release. If you are compiling using -xarch=v9 or -xarch=v9a on a Solaris 7 system, it is strongly recommend that you also install the most recent release of patch 107390. It is strongly recommended that the C++ Runtime patches (patches to the Solaris SUNWlibC package) are installed on all systems used by the compiler or used to execute code generated by these compilers. In all cases, these are the minimum revision level recommended. If more recent revision levels are available, we encourage you to use them. Solaris Version SPARC SPARC V9 Intel ------- --------- --------- --------- 2.5.1 106529-07 na 106530-07 2.6 105591-09 na 104678-07 7 106327-08 106300-09 106328-08 8 108434-01 108435-01 108436-01 The SPARC V9 patch is only required for systems running Solaris 7-8 and either executing or compiling 64-bit C++ applications. README -- Last modified date: Wednesday, October 30, 2002