Patch-ID# 117830-02 Keywords: c++ 5.7 sun studio 10 c++ compiler Synopsis: C++ 5.7: Patch for Sun Studio 10 C++ Compiler Date: Apr/15/2005 Install Requirements: NA Solaris Release: 8 9 10 SunOS Release: 5.8 5.9 5.10 Unbundled Product: Sun Studio 10 C++ Compiler Unbundled Release: 5.7 Xref: Topic: Relevant Architectures: sparc BugId's fixed with this patch: 4907751 5025475 5050758 5057840 5062954 5070004 5077945 5088763 6176465 6182181 6186646 6186857 6189114 6191581 6193249 6195868 6197269 6199377 6203110 6211394 6211974 6211983 6212003 6212539 6214410 6216319 6216369 6217887 6217921 6221080 6223839 6224793 6226742 6227232 6231173 6234584 6235039 6238873 6241812 6244956 Changes incorporated in this version: 6216369 6226742 6227232 6234584 6235039 6238873 6241812 6244956 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/CCadmin /SUNWspro/prod/bin/CClink /SUNWspro/prod/bin/c++filt /SUNWspro/prod/bin/ccfe /SUNWspro/prod/include/CC/Cstd/ostream /SUNWspro/prod/include/CC/Cstd/vector /SUNWspro/prod/include/CC/std/cerrno /SUNWspro/prod/include/CC/std/cfloat /SUNWspro/prod/include/CC/std/climits /SUNWspro/prod/include/CC/std/cmath /SUNWspro/prod/include/CC/std/cstdarg /SUNWspro/prod/include/CC/std/cstddef /SUNWspro/prod/lib/libCrun.a /SUNWspro/prod/lib/libCstd.a /SUNWspro/prod/lib/libdemangle.a /SUNWspro/prod/lib/libp/libCrun.a /SUNWspro/prod/lib/libp/libCstd.a /SUNWspro/prod/lib/libp/libdemangle.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/libdemangle.a /SUNWspro/prod/lib/v9/libp/libCrun.a /SUNWspro/prod/lib/v9/libp/libCstd.a /SUNWspro/prod/lib/v9/libp/libdemangle.a Problem Description: 6216369 template function parameter default expressions incorrect 6226742 integer conversions not used to find template function 6227232 Wrong overload resolution for builtin operators in the presence of user-defined conversion-operator 6234584 incorrect ambiguity error in overloading with ptr-to-member and ptr-to-func 6235039 BOOST: wrong resolution function-style cast and constructor call 6238873 BOOST: elaborated type in cast inside function call 6241812 CC continues to process trigraphs in comments 6244956 Comma in the helper library path in the ld options -zld* (from 117830-01) 4907751 Rethrowing an exception in a catch block causing SIGABRT 5025475 Identical namespace alias declarations in different scopes causes seg fault 5050758 vector generates compile warning 5057840 ccfe: Segmentation Fault with DWARF output 5062954 "explicit" ignored when converting constructor needed 5070004 fstream opened with ios::app is very slow because of calls to lseek() 5077945 undefined symbol __init_task_common with -xipo -xopenmp -xO4 5088763 template member of template class not recognized in friend declaration 6176465 blitz template-template code fails 6182181 crash in demangler library (on symbol __2logN) (also incomplete stabs) 6186646 PERFLIB: Optimization gives inaccurate results. 6186857 C++ compiler should emit dependency info for make .KEEP_STATE purposes for templates, but doesn't 6189114 Assertion unexpected type in submangle_constant (../lnk/v2mangler.cc, line 1483) 6191581 missing "typename" on template parameter causes incorrect behavior 6193249 signed int template parameter becomes unsigned int for bitfields. 6195868 BOOST: Assertion: unhandled expression (../lnk/v2mangle r.cc, line 1585 6197269 DROPS: mismatched names on template function parameters don't compile 6199377 DROPS: Assertion: (../lnk/tmplmatchargs.cc, line 178) 6203110 ir_get_type_member(): unexpected nested type 6211394 __STATIC_CONSTRUCTOR() missing when using -xipo=2 6211974 BOOST: compiler loops while processing xml_grammar.cpp 6211983 BOOST: array specializations (T[] vs T[N]) 6212003 BOOST: problems with "signals" templates 6212539 BOOST: partial specialization with template-template parameter 6214410 Signal 11: invalid SunIR Type generation 6216319 overloading of template conversion function 6217887 C++ front end needs to autoscope const variables 6217921 class object with no accessible default constructor should not be autoscoped 6221080 compiler will not work if install directory path contains a comma 6223839 Emit globalization prefix into stabs only with -g 6224793 compiler will not work with option -xsb if install directory path contains a comma 6231173 C++ version of C headers don't compile correctly 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, April 15, 2005