Patch-ID# 100962-08 Keywords: C++ cumulative Synopsis: SPARCompiler 2.0.1; C++ jumbo patch Date: Apr/29/94 Solaris Release: 2.x SunOS Release: 5.x Unbundled Product: SPARCompiler C++ Unbundled Release: 2.0.1 BugId's fixed with this patch: 1137825 1140139 1126384 1135515 1129724 1136151 1134545 1136813 1135723 1135378 1130548 1135378 1115225 1131504 1109242 1112278 1124096 1109493 1110002 1108886 1113191 1110101 1110661 1116694 1115410 1115576 1120470 1145365 1144650 1088959 1148070 1152899 1151869 1161891 Note: Also includes all bugs fixed in cfront 3.0.2.14 Changes incorporated in this version: 1161891 Relevant Architectures: sparc Files included with this patch: fbe Files included from previous patches: CC, acomp, acpp, iostream.h, ptlink, ptcomp, c++filt, dem, libC.a, libC.so.3, libcomplex.a, libcomplex.so.3, complex.h, fstream.h, CC.1, filebuf.3, fstream.3, ios.3, sbuf.prot.3, ssbuf.3, strstream.3, fbe, cg, iropt. Other patches included with this patch: Patch id binaries package Synopsis ======== ======== ======= ======== 100811-01 CC, acpp SPROcpl, patch based on USL's cfront 3.0.2 cfront, SPROlang ptlink, ptcomp, c++filt, dem, libC.a, libC.so.3, libcomplex.a, libComplex.so.3 100830-01 iropt SPROlang bad code generated when addresses of two double arguments are involved 100842-01 cg SPROlang "volatile" declaration got ignored when -O is turned on 100861-01 iropt cg SPROlang incorrect code for bit-field extraction 100879-01 CC SPROcpl driver invokes iropt pass when -a is on and no optimization 100903-01 acomp SPROacomp acomp generates incorrect code without -O 100960-01 acomp SPROacomp large program fails to preprocess correctly 100961-01 acomp SPROacomp reduce LINGER time to 0 (zero) 100961-02 acomp SPROacomp default .stabs generation produces an unacceptable link-editing overhead 100861-06 fbe SPROlang bug 1148070: optimizer problem, using -O causes core dump at run-time 200001-01 acpp SPROcpl '$' sign not allowed in macro names by acpp even with -Xm Bugs Fixed: ========== rev-08 ------ 1161891 fbe provided with patch 100962-07 didn't work with Solaris 2.1 rev-07 ------ 1118524 cfront issues an internal error if too many member functions rev-06 ------ 1152899 compile with -O can result in object with no symbol table 1151869 acomp coredumps if -sb option is used rev-05 ------ 1145365 cfront issues an internal error 1144650 cfront incorrectly issues an error for pointer initialization 1088959 strstreambuf::str() incorrectly adds null character to string with the result that ostrstream::pcount() returns wrong length. 1148070 optimizer problem, using -O causes core dump at run-time rev-04 ------ 1137825 cfront issues internal error for expression involving cast 1140139 internal error with -sb for specialized template class 1126384 storage returned by ios::xalloc() is not always initialized to zero rev-03 ------ 1135515 issues spurious errors for template program 1129724 problem with virtual function involving multiple inheritance 1136151 issues internal error for test case involving const reference 1134545 internal error involving inline functions 1136813 incorrect value generated for cast 1135723 CC driver does not record all default macros in options file 1135378 Does not correctly handle '_' in token pasting. 1130548 strstream::read() does not work correctly if the character value read is 0xff, it treats this value as end-of-file. 1135378 acpp does not correctly handle '_' in token pasting. rev-02 ------ 1115225 default .stabs generation produces an unacceptable link-editing overhead 1131504 cfront internal error rev-01 ------ 1109242 bad code generated when addr of two double arguments were involved 1112278 -O3 (reassoc phase) yields incorrect code for bit-field extraction 1124096 large program fails to preprocess correctly 1109493 Wrong syntax error message "negative array dimension" 1110002 patch doesn't handle executables with writeable text section 1108886 Template instantiations available in a library do not get resolved 1113191 ptlink core dumps 1110101 feature not implemented in cfront : templates of nested classes. 1110661 nested classes cause bad C code (improper cast generated) 1116694 improper cfront-generated code causing incompatible arg warnings 1115410 cfront generates bad C code. It tries to make an assignment to a const var 1115576 static member func name of class template conflicts with global class name 1120470 inheritance of nested classes generates undue warning --------------------- Installing this patch will reduce the minimum linger time from 15 minutes to 0. If you use a linger time of 0, as soon as a compile finishes, its license token will be returned to the pool of available tokens. SunPro recommends specifying a linger time of 5 minutes (300 seconds) to improve performance and to avoid queueing to wait for a license in the middle of a long make. The linger value can be set in the license options file. For example, the line: LINGER sunpro.cc 300 would set it to 5 minutes for SPARCompiler C++. The name of the license options file appears in the fourth field on the DAEMON line in the license file (usually called license.dat) on your license server. See the SunPro Installation manual for details. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions added in this section. Other specific or unique installation instructions may also be necessary and should be described below.