OBSOLETE Patch-ID# 117831-03

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.7 x86 sun studio 10 c++ compiler
Synopsis: Obsoleted by: 117831-04 C++ 5.7_x86: Patch for x86 Sun Studio 10 C++ Compiler
Date: Aug/17/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: Sun Studio 10 C++ Compiler

Unbundled Release: 5.7

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 4907751 5025475 5050758 5057840 5062954 5070004 5077945 5088763 6176465 6182181 6186646 6186857 6189114 6191581 6193249 6195868 6197269 6197465 6199377 6203110 6211394 6211974 6211983 6212003 6212539 6214410 6216319 6216369 6217887 6217921 6221080 6223839 6224793 6226742 6227232 6231173 6231884 6233892 6234584 6235039 6238371 6238873 6241704 6241812 6242459 6242885 6244128 6244485 6244956 6245261 6245555 6248363 6251279 6253345 6253807 6253944 6254494 6254578 6257360 6264564 6265052 6266854 6269237 6269939 6273787 6275166 6279462 6283965 6286320 6286678

Changes incorporated in this version: 6197465 6231884 6233892 6241704 6242459 6242885 6244128 6244485 6245261 6245555 6248363 6251279 6253345 6253807 6253944 6254494 6254578 6257360 6264564 6265052 6266854 6269237 6269939 6273787 6275166 6283965 6286678 6279462 6286320

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 117846-02 (or greater)

Obsoleted by: 

Files included with this patch: 

<install_dir>/SUNWspro/prod/bin/CC
<install_dir>/SUNWspro/prod/bin/CCadmin
<install_dir>/SUNWspro/prod/bin/CClink
<install_dir>/SUNWspro/prod/bin/c++filt
<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/deque
<install_dir>/SUNWspro/prod/include/CC/Cstd/deque.cc
<install_dir>/SUNWspro/prod/include/CC/Cstd/list
<install_dir>/SUNWspro/prod/include/CC/Cstd/list.cc
<install_dir>/SUNWspro/prod/include/CC/Cstd/memory
<install_dir>/SUNWspro/prod/include/CC/Cstd/ostream
<install_dir>/SUNWspro/prod/include/CC/Cstd/string
<install_dir>/SUNWspro/prod/include/CC/Cstd/string.cc
<install_dir>/SUNWspro/prod/include/CC/Cstd/vector
<install_dir>/SUNWspro/prod/include/CC/std/cerrno
<install_dir>/SUNWspro/prod/include/CC/std/cfloat
<install_dir>/SUNWspro/prod/include/CC/std/climits
<install_dir>/SUNWspro/prod/include/CC/std/cmath
<install_dir>/SUNWspro/prod/include/CC/std/cstdarg
<install_dir>/SUNWspro/prod/include/CC/std/cstddef
<install_dir>/SUNWspro/prod/lib/amd64/libCrun.a
<install_dir>/SUNWspro/prod/lib/amd64/libCstd.a
<install_dir>/SUNWspro/prod/lib/amd64/libdemangle.a
<install_dir>/SUNWspro/prod/lib/amd64/libp/libCrun.a
<install_dir>/SUNWspro/prod/lib/amd64/libp/libCstd.a
<install_dir>/SUNWspro/prod/lib/amd64/libp/libdemangle.a
<install_dir>/SUNWspro/prod/lib/libCrun.a
<install_dir>/SUNWspro/prod/lib/libCstd.a
<install_dir>/SUNWspro/prod/lib/libdemangle.a
<install_dir>/SUNWspro/prod/lib/libp/libCrun.a
<install_dir>/SUNWspro/prod/lib/libp/libCstd.a
<install_dir>/SUNWspro/prod/lib/libp/libdemangle.a

Problem Description:

6197465 specialized template friend declarations
6231884 Assertion: (../lnk/binaryexpr.cc, line 97)
6233892 Assertion:   (../lnk/init.cc, line 1004)
6241704 problem with array versus reference to array in template instantiation
6242459 gcount() does not return 0 when unformatted input fails
6242885 +w2 option caused C++ header warnings in include/CC/Cstd/./list.cc
6244128 C++ libCstd find_last_not_of wrong result
6244485 bogus error about adding default default function parameter values in template function
6245261 problem with nested template definitions
6245555 partial specialization confused with primary template
6248363 compiler doesn't accept default template parameters
6251279 type conversion operator not applied when literal integer is left operand
6253345 typo in error message
6253807 REGRESSION: AMD64: dbx has problems with exceptions
6253944 Confusion between template and non-template class functions
6254494 iropt segmentation fault with C++ 5.7 patch 117830-01 and -xalias_level=compatible
6254578 openMP-C++: privatisation of variable in nested loop causes app to dump core
6257360 Unexpected error with constant in the default template type
6264564 C++ compiler does not detect incomplete type
6265052 undefined symbol for member templates
6266854 BOOST: improper selection of specializations
6269237 Studio 10 x86 ube gives "internal error" (Error code 154) when compiling optimized w/ -g or +d
6269939 Cafe dumps core on a simple testcase
6273787 Assertion:   (../lnk/tmplmatchargs.cc, line 178) for member template specialization
6275166 Bitwise inclusive OR yields wrong result
6279462 C++ app aborts at runtime when compiled w/ 117830-02 or 117831-02 resp.
6283965 Compiler could not find a match for constructor
6286320 C++ Overloading Ambiguity
6286678 BOOST: Could not find a match for function when one function has substitution failure
 
(from 117831-02)
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
6238371 -xpagesize needs to be implemented on x86
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 117831-01)
4907751 Rethrowing an exception in a catch block causing SIGABRT
5025475 Identical namespace alias declarations in different scopes causes seg fault
5050758 vector<int> 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 AMD64: 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 <c...> 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:  Thursday, September 29, 2005

