Patch Name: PHSS_28756 Patch Description: s700_800 11.X HP aC++ Compiler (A.03.45) Creation Date: 03/02/27 Post Date: 03/04/28 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: HP aC++ A.03.37 Filesets: ACXX.ACXX,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHSS_28756 Symptoms: PHSS_28756: The following defects found in the A.03.39 aC++ compiler have been fixed. JAGae44586 : Signal 11 in doReduction3 vs. error 271 on illegal initializer JAGae25206 : Blaze: Assert Overload.C:648 JAGae55592 : -E output fails for illegal C++ source JAGad75222 : Friend functions shouldn't be visible outside class with -Aa JAGae07171 : Error 399 on unbounded template friend function, using the current class JAGae10519 : No error for friend forward declaration with non-local namespace scope JAGae56110 : Assert ProcessDeclarations.C 377 with PCH JAGae44038 : Error 746 Can't use static_cast to convert void* to const pointer JAGae25376 : Uninitialized __thread data gets stored in $TDATA$ JAGae47091 : -AA inplace_merge ignores comparison functor JAGae46199 : Assert Compiler.h 425 debug_ux JAGad63554 : Empty new initializer () doesn't initialize PODs JAGae53511 : P58 P23417 bitset::count fails with -AP JAGae59716 : ToT: Error 173 limits.h when compiled with +uc JAGae52601 : +DD64 doesn't work for V class JAGae49781 : Bogus Error 369 for friend function with typedef type JAGae55407 : Boost/Blaze: Assert in ImportExport.C 11099 JAGae57308 : Support for predefined macro __TIMESTAMP__ JAGaa86543 : Error 92 Character '$' was unexpected, also in libvec.a JAGac78701 : Please create a document not to support CR LF (DOS) as line end code JAGae47077 : Want to treat all warnings as errors JAGad70605 : Wrong overloading done when inside template, for template arg eval JAGae49694 : Warning 182 with -Ae on initialization of global variables JAGae53807 : ToT A.03.35 inline virtual func with static is not comdated JAGae54100 : PCH/-AA: Error 437 importing JAGad82319 : Signal 11 in checkImport with -AA and PCH and templates JAGae54096 : PCH/-AA: Error 708 while importing JAGae56343 : ToT HPT ae19185dnnn loop in composeInstantiationSignatureArgs JAGae45296 : Boost: Error 174 for graph library on friend function JAGae41765 : extern declaration not resolved within namespace definition JAGae47495 : Signal 11 with +nrv on return statement in catch block JAGae47347 : ToT HPT ad34995nnnn fails to promote to int before shift JAGad71795 : Error 732 class member template explicit specialization problem JAGaa86462 : PCH loses all pragmas JAGae49259 : Error 641 causes out of memory trying to print error JAGae53705 : ToT HPT bs07748cnnn on getId change JAGae43307 : Inconsistent behavior for overloaded functions JAGae56334 : PCH: Error 173 Redefinition while importing JAGae38877 : Eclipse: Error 226 for friend operator<<(std::ostream& JAGae55680 : Boost(graph) Error 24 for valid qualified dependent name with typename JAGae57110 : Boost: Assertion in Templates.C 6140 JAGae50350 : Blaze: Error 810 partial specialization, 168 typedef with static const JAGae49685 : Blaze: Signal 10 in dependentExpressionNumber JAGae54095 : PCH/-AA: Signal 11 tryToUnify with RW alg1.cpp JAGae49470 : Error 322 on member template use in enum JAGae38854 : Non-POD offsetof macro not working for non-virtual inheritance JAGae07175 : Error 732 on template explicit specialization using argument deduction JAGae49797 : Blaze/Boost(graph): Problem with nested template references JAGae54197 : ToT P54 E08322 compiler loops JAGae57667 : Boost (graph): Error 519 when static const used as nontype template arg JAGae37576 : Assert in Expand.C 1526 on a throw with a copy ctor with default parm JAGad12453 : Error 5726 with +O2 on inline with function scope static JAGae41412 : Error 182 with class declaration also as private in base class JAGae52611 : Casting from unsigned long long to signed char fails to sign extend JAGae42657 : Wrong destructor order of shared library's objects, after unload JAGae43505 : Siebel: Memory leak on string reference with return JAGae52568 : Incorrect packing of unsigned long (64-bit) bitfields JAGae43587 : ToT: Boost: Error 519 has changed to Error 215 and stack overflow JAGae44672 : Bit field operation errors with +O3, when they overflow JAGaa86667 : PERF: Do more NRV optimization, ignore "const" type JAGae51726 : Error 226 on overloading, used to work JAGae56200 : Template unsat, implicit data instantiation request ignored JAGae52152 : Signal 11 in activeObject on aggregate init JAGae53515 : ToT Error 226 inline friend function not found with -Aa JAGae48923 : Error 440 Cannot initialize with -Aa, overloading and ref to functions PHSS_27942: The following defects found in the A.03.37 aC++ compiler have been fixed. JAGaa86543 : Error 92 Character '$' was unexpected, also in libvec.a JAGaa86674 : Excessive memory use for large POD array init JAGaa94313 : Template functions not inlined if explicit instantiation JAGab17944 : NAMESPACES : Wrong name lookup for qualified lookup JAGab39974 : Error 312, scope problems with default args JAGab78061 : Error 22 syntax error has incorrect line numbers JAGac78701 : Please create a document not to support CR LF(DOS) as line end code JAGac88738 : Error 698 using directive not limited to block scope JAGad10251 : Error 519 constant used as a template parm JAGad27039 : Support INIT & FINI pragmas JAGad31788 : M62 c0942501 Error 659 declaring static member function JAGad33638 : Error 503 linkage specifier and inline JAGad38141 : Error 221 trying to declare function in nested class as friend JAGad46834 : Error 5169 5212 insert LAB in missing/duplicate error messages JAGad56281 : LLO fails to register promote structure field references JAGad65522 : -Aa / -Ae interaction wrong JAGad67642 : Signal 11 in MapIterator : :init on incomplete class used in template JAGad77063 : Err_ids needs fixing for Clearcase 4.0. -vob isn't valid JAGad78735 : -AA vector.cc :86 invalid memory deallocation, after using operator= JAGae01544 : Signal 11 in Get_Call_Parent_And_Successor with +O3 JAGae08962 : Signal 11 in setParameter on illegal use of default template parm JAGae15207 : Assert failed IR_OPR_Immediate-operand not an immediate JAGae20350 : Signal 11 at runtime for #pragma pack not functioning JAGae20974 : Signal 11 in fa_pass2 with +O2 JAGae22575 : Error 575 on complex template code JAGae27207 : Error 182 should check where the template is used, not inside JAGae27678 : Signal 11 in deltaToActiveObject on array initialization JAGae28012 : PCH : Change the LoadDumpVersion JAGae28039 : ResolveIdentifier() hard to understand JAGae28197 : Error 439 occurs if nested class has a field with same name JAGae28206 : Signal 11 in mergeTwoFunctionDecls JAGae30094 : Signal 11 in composeSignatureId nested templates with ptr to member fun JAGae30393 : Wrong runtime result with +DS2.0 and +O2 in loop JAGae30900 : Incorrect SLT entries for "else" cause breakpoint to be missed JAGae31033 : R19 destroyed in covariant adjustor thunks,in shared libs JAGae31143 : ToT Misaligned loads done for virtual calls JAGae31615 : Assert in TypePackage.C 1754 JAGae31850 : Assert in Templates.C :5079 JAGae33114 : FLV (__attribute__) after func not accepted JAGae34066 : Pack pragma regressions JAGae34147 : Unable to generate specialization:Assert Templates.C 8275 JAGae34326 : Assert Templates.C 1809 JAGae34350 : Unsat symbols with -E & +inst_implicit_include JAGae35420 : Error 5169 Missing LAB for label with +O3 +eh with try/catch JAGae35425 : Signal 11 in Process_Routine with +O3 JAGae36560 : Loop on illegal iterator, operator++ on empty map::end() JAGae37053 : FLV : Error 5708 : Comdat key X not defined JAGae37365 : Signal 11 in Call, class without default ctor JAGae37532 : Out of heap space with -I- JAGae37833 : Error 359 while parsing a template declaration JAGae38854 : Non-POD offsetof macro not working for non-virtual inheritance JAGae40583 : Add +objstatvars to PA for kernel builds JAGae41412 : Error 182 with class declaration also as private in base class JAGae43505 : Memory leak on string reference with return Defect Description: PHSS_28756: JAGae44586 : Signal 11 in doReduction3 vs. error 271 on illegal initializer JAGae25206 : Blaze: Assert Overload.C:648 JAGae55592 : -E output fails for illegal C++ source JAGad75222 : Friend functions shouldn't be visible outside class with -Aa JAGae07171 : Error 399 on unbounded template friend function, using the current class JAGae10519 : No error for friend forward declaration with non-local namespace scope JAGae56110 : Assert ProcessDeclarations.C 377 with PCH JAGae44038 : Error 746 Can't use static_cast to convert void* to const pointer JAGae25376 : Uninitialized __thread data gets stored in $TDATA$ JAGae47091 : -AA inplace_merge ignores comparison functor JAGae46199 : Assert Compiler.h 425 debug_ux JAGad63554 : Empty new initializer () doesn't initialize PODs JAGae53511 : P58 P23417 bitset::count fails with -AP JAGae59716 : ToT: Error 173 limits.h when compiled with +uc JAGae52601 : +DD64 doesn't work for V class JAGae49781 : Bogus Error 369 for friend function with typedef type JAGae55407 : Boost/Blaze: Assert in ImportExport.C 11099 JAGae57308 : Support for predefined macro __TIMESTAMP__ JAGaa86543 : Error 92 Character '$' was unexpected, also in libvec.a JAGac78701 : Please create a document not to support CR LF (DOS) as line end code JAGae47077 : Want to treat all warnings as errors JAGad70605 : Wrong overloading done when inside template, for template arg eval JAGae49694 : Warning 182 with -Ae on initialization of global variables JAGae53807 : ToT A.03.35 inline virtual func with static is not comdated JAGae54100 : PCH/-AA: Error 437 importing JAGad82319 : Signal 11 in checkImport with -AA and PCH and templates JAGae54096 : PCH/-AA: Error 708 while importing JAGae56343 : ToT HPT ae19185dnnn loop in composeInstantiationSignatureArgs JAGae45296 : Boost: Error 174 for graph library on friend function JAGae41765 : extern declaration not resolved within namespace definition JAGae47495 : Signal 11 with +nrv on return statement in catch block JAGae47347 : ToT HPT ad34995nnnn fails to promote to int before shift JAGad71795 : Error 732 class member template explicit specialization problem JAGaa86462 : PCH loses all pragmas JAGae49259 : Error 641 causes out of memory trying to print error JAGae53705 : ToT HPT bs07748cnnn on getId change JAGae43307 : Inconsistent behavior for overloaded functions JAGae56334 : PCH: Error 173 Redefinition while importing JAGae38877 : Eclipse: Error 226 for friend operator<<(std::ostream& JAGae55680 : Boost(graph) Error 24 for valid qualified dependent name with typename JAGae57110 : Boost: Assertion in Templates.C 6140 JAGae50350 : Blaze: Error 810 partial specialization, 168 typedef with static const JAGae49685 : Blaze: Signal 10 in dependentExpressionNumber JAGae54095 : PCH/-AA: Signal 11 tryToUnify with RW alg1.cpp JAGae49470 : Error 322 on member template use in enum JAGae38854 : Non-POD offsetof macro not working for non-virtual inheritance JAGae07175 : Error 732 on template explicit specialization using argument deduction JAGae49797 : Blaze/Boost(graph): Problem with nested template references JAGae54197 : ToT P54 E08322 compiler loops JAGae57667 : Boost (graph): Error 519 when static const used as nontype template arg JAGae37576 : Assert in Expand.C 1526 on a throw with a copy ctor with default parm JAGad12453 : Error 5726 with +O2 on inline with function scope static JAGae41412 : Error 182 with class declaration also as private in base class JAGae52611 : Casting from unsigned long long to signed char fails to sign extend JAGae42657 : Wrong destructor order of shared library's objects, after unload JAGae43505 : Siebel: Memory leak on string reference with return JAGae52568 : Incorrect packing of unsigned long (64-bit) bitfields JAGae43587 : ToT: Boost: Error 519 has changed to Error 215 and stack overflow JAGae44672 : Bit field operation errors with +O3, when they overflow JAGaa86667 : PERF: Do more NRV optimization, ignore "const" type JAGae51726 : Error 226 on overloading, used to work JAGae56200 : Template unsat, implicit data instantiation request ignored JAGae52152 : Signal 11 in activeObject on aggregate init JAGae53515 : ToT Error 226 inline friend function not found with -Aa JAGae48923 : Error 440 Cannot initialize with -Aa, overloading and ref to functions PHSS_27942: JAGaa86543 : Error 92 Character '$' was unexpected, also in libvec.a JAGaa86674 : Excessive memory use for large POD array init JAGaa94313 : Template functions not inlined if explicit instantiation JAGab17944 : NAMESPACES : Wrong name lookup for qualified lookup JAGab39974 : Error 312, scope problems with default args JAGab78061 : Error 22 syntax error has incorrect line numbers JAGac78701 : Please create a document not to support CR LF(DOS) as line end code JAGac88738 : Error 698 using directive not limited to block scope JAGad10251 : Error 519 constant used as a template parm JAGad27039 : Support INIT & FINI pragmas JAGad31788 : M62 c0942501 Error 659 declaring static member function JAGad33638 : Error 503 linkage specifier and inline JAGad38141 : Error 221 trying to declare function in nested class as friend JAGad46834 : Error 5169 5212 insert LAB in missing/duplicate error messages JAGad56281 : LLO fails to register promote structure field references JAGad65522 : -Aa / -Ae interaction wrong JAGad67642 : Signal 11 in MapIterator : :init on incomplete class used in template JAGad77063 : Err_ids needs fixing for Clearcase 4.0. -vob isn't valid JAGad78735 : -AA vector.cc :86 invalid memory deallocation, after using operator= JAGae01544 : Signal 11 in Get_Call_Parent_And_Successor with +O3 JAGae08962 : Signal 11 in setParameter on illegal use of default template parm JAGae15207 : Assert failed IR_OPR_Immediate-operand not an immediate JAGae20350 : Signal 11 at runtime for #pragma pack not functioning JAGae20974 : Signal 11 in fa_pass2 with +O2 JAGae22575 : Error 575 on complex template code JAGae27207 : Error 182 should check where the template is used, not inside JAGae27678 : Signal 11 in deltaToActiveObject on array initialization JAGae28012 : PCH : Change the LoadDumpVersion JAGae28039 : ResolveIdentifier() hard to understand JAGae28197 : Error 439 occurs if nested class has a field with same name JAGae28206 : Signal 11 in mergeTwoFunctionDecls JAGae30094 : Signal 11 in composeSignatureId nested templates with ptr to member fun JAGae30393 : Wrong runtime result with +DS2.0 and +O2 in loop JAGae30900 : Incorrect SLT entries for "else" cause breakpoint to be missed JAGae31033 : R19 destroyed in covariant adjustor thunks, in shared libs JAGae31143 : ToT Misaligned loads done for virtual calls JAGae31615 : Assert in TypePackage.C 1754 JAGae31850 : Assert in Templates.C :5079 JAGae33114 : FLV (__attribute__) after func not accepted JAGae34066 : Pack pragma regressions JAGae34147 : Unable to generate specialization:Assert Templates.C 8275 JAGae34326 : Assert Templates.C 1809 JAGae34350 : Unsat symbols with -E & +inst_implicit_include JAGae35420 : Error 5169 Missing LAB for label with +O3 +eh with try/catch JAGae35425 : Signal 11 in Process_Routine with +O3 JAGae36560 : Loop on illegal iterator, operator++ on empty map::end() JAGae37053 : FLV : Error 5708 : Comdat key X not defined JAGae37365 : Signal 11 in Call, class without default ctor JAGae37532 : Out of heap space with -I- JAGae37833 : Error 359 while parsing a template declaration JAGae38854 : Non-POD offsetof macro not working for non-virtual inheritance JAGae40583 : Add +objstatvars to PA for kernel builds JAGae41412 : Error 182 with class declaration also as private in base class JAGae43505 : Memory leak on string reference with return Enhancement: No SR: 4701394528 8606157818 8606271700 8606271266 8606279453 8606100969 8606107770 8606127900 8606129834 8606140889 8606157708 8606162472 8606164339 8606168863 8606177602 8606187073 8606196319 8606198452 8606207886 8606209549 8606232308 8606241704 8606248810 8606256034 8606256659 8606258274 8606262877 8606263352 8606263687 8606263714 8606263872 8606263881 8606265841 8606266141 8606266655 8606266788 8606266898 8606267373 8606267609 8606268879 8606269826 8606269908 8606270088 8606270112 8606271185 8606271190 8606272421 8606272947 8606273264 8606273444 8606273745 8606274777 8606276506 8606277341 8606280616 8606260884 8606291828 8606206047 8606238130 8606243289 8606292347 8606280063 8606261054 8606283136 8606282252 8606194344 8606289581 8606296089 8606288670 8606285840 8606291640 8606293560 4701394528 8606127900 8606283122 8606201429 8606285753 8606289878 8606290172 8606213132 8606290168 8606292590 8606281352 8606277695 8606283550 8606283400 8606202621 4701347989 8606285314 8606289776 8606279251 8606292581 8606274800 8606291916 8606293360 8606286407 8606285744 8606290167 8606285525 8606274777 8606238134 8606285856 8606290278 8606293928 8606273488 8606143110 5003430793 8606277341 8606288680 8606278599 8606279453 8606288637 8606279534 8606280702 8606108778 8606287793 8606292439 8606288221 8606289585 8606284981 Patch Files: ACXX.ACXX,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/bin/aCC /opt/aCC/lbin/ctcom /opt/aCC/lbin/ctcom.pa20 /opt/aCC/lib/nls/msg/C/aCC.cat ACXX.ACXX-STDLIB,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include/tree /opt/aCC/include_std/vector.cc what(1) Output: ACXX.ACXX,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/bin/aCC: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ HP aC++ B3910B A.03.45 HP aC++ B3910B A.03.33 Language Support Library /opt/aCC/lbin/ctcom: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ HP aC++ B3910B A.03.45 HP aC++ B3910B A.03.45 Demangler Library HP-UX SLLIC/OPTIMIZER UX.11.01.285: 01/30/03 linkstamp 03/14/03 16:05:41 HP aC++ B3910B A.03.33 Classic Iostream Library HP aC++ B3910B A.03.33 Language Support Library Ucode Code Generator - UX11.01.54 (PACG Jan 30, 2003 ) REV: HP SESD Support Code High Level Optimizer - UX.11.00.030130 (UX11.01-CURR ENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck ] - 26-Feb-2003.19:40 Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1 998) 92453-07 linker command s800.sgs libelf PA64 B.11.35 REL 021021 /opt/aCC/lbin/ctcom.pa20: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ HP aC++ B3910B A.03.45 HP aC++ B3910B A.03.45 Demangler Library HP-UX SLLIC/OPTIMIZER UX.11.01.285: 01/30/03 linkstamp 03/14/03 16:05:41 HP aC++ B3910B A.03.33 Classic Iostream Library HP aC++ B3910B A.03.33 Language Support Library Ucode Code Generator - UX11.01.54 (PACG Jan 30, 2003 ) REV: HP SESD Support Code High Level Optimizer - UX.11.00.030130 (UX11.01-CURR ENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck ] - 26-Feb-2003.19:40 Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1 998) 92453-07 linker command s800.sgs libelf PA64 B.11.35 REL 021021 /opt/aCC/lib/nls/msg/C/aCC.cat: None. ACXX.ACXX-STDLIB,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include/tree: None. /opt/aCC/include_std/vector.cc: None. cksum(1) Output: ACXX.ACXX,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP: 1683303530 217088 /opt/aCC/bin/aCC 446954373 14858048 /opt/aCC/lbin/ctcom 3963879625 14509888 /opt/aCC/lbin/ctcom.pa20 1779418660 132370 /opt/aCC/lib/nls/msg/C/aCC.cat ACXX.ACXX-STDLIB,fr=C.03.37,fa=HP-UX_B.11.00_32/64,v=HP: 2229124681 31282 /opt/aCC/include/tree 3155707040 18168 /opt/aCC/include_std/vector.cc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: Should be installed over A.03.37 version of aCC compiler. Make sure that ucomp patch PHSS_28594 is installed too if using +O4. Supersedes: PHSS_27942 Equivalent Patches: None Patch Package Size: 29120 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_28756 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_28756.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_28756. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_28756.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_28756.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_28756.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None