Patch Name: PHSS_29483 Patch Description: s700_800 11.X HP aC++ Compiler (A.03.52) Creation Date: 03/10/17 Post Date: 03/11/25 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: HP aC++ A.03.50 Filesets: ACXX.ACXX,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-SC,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_29483: HANG CORRUPTION OTHER HANG JAGae79003 ToT P58 E05445 hangs HANG JAGae85159 Infinite loop CORRUPTION JAGae87019 Ceil/floor problem OTHER JAGae84801 Assert in ExceptionHandling OTHER JAGad74285 References wrong specialization OTHER JAGae72720 signal 11 stack overflow Category Tags: defect_repair general_release critical halts_system corruption Path Name: /hp-ux_patches/s700_800/11.X/PHSS_29483 Symptoms: PHSS_29483: The following defects found in the A.03.50 aC++ compiler have been fixed. 1. JAGae67483 : P58 P15171 Error 19 on throw spec syntax for function returning function 2. JAGae94473 : Error 225 Ambiguous overloaded function call with template 3. JAGae70490 : P60 C09367 no error on non-const init for static data member in class 4. JAGae85398 : References to filescope statics causes inline to be ignored 5. JAGaa86624 : Error 225 Ambiguous overload function call, const base & cast 6. JAGae74068 : Error 174 with explicit spec and overloading between fun and template 7. JAGad44417 : Error 225 overloading on member functions ctor vs conversion operator 8. JAGae68433 : P58 P22032 Error 663, wants template args in member function 9. JAGac46685 : Error 20 for template parm with non-type parm without name 10.JAGae07168 : Error 482 using a template class array inside a template function 11.JAGab83141 : Chained using declaration doesn't give proper access rights 12.JAGad75238 : Explicit constructor shouldn't be called on overload resolution 13.JAGae04231 : ANSIC: IEEE NaN and INF not generated on 0.0 * X 14.JAGae72720 : Signal 11 stack overflow on friend in local class in template 15.JAGae72901 : Error 285 on complex templatized return type 16.JAGae79312 : Incorrect order of evaluation for: (x++) ? x ... 17.JAGae95085 : Variables inside the unnamed namespaces should have unique mangled names 18.JAGae75004 : Error 646 allow 'long long' switch statements 19.JAGae86410 : Warning 67 -Ae on pragma NO_SIDE_EFFECTS 20.JAGae80516 : Support GNU compatible feature '-include ' 21.JAGae94648 : Error 225 Ambiguous overloaded function call; more than one function 22.JAGae87441 : Need +promote_int_parms_to_long for +DD64 23.JAGae77284 : Error 403 on static template functions in SC/Array_alg.[ch] 24.JAGae56440 : Error 419 on typename keyword on namespace qualified class vector -AA 25.JAGae77955 : Symbols not exported with __declspec(dllexport) 26.JAGae82699 : Error 175 on bitfield which width depends on template argument 27.JAGad74285 : Error 475 mem templ class of templ class references wrong specialization 28.JAGad11975 : Error 440 on conform/c13/c13_4/c1340112.C 29.JAGae90885 : +ub doesn't work for template dependent fields 30.JAGae76330 : Unnamed namespaces aren't unique for container using types in them 31.JAGad11982 : M62 c1454321 assert Grammar.y 721 or out of memory 32.JAGae82427 : Missing strong ordering completer for volatile 33.JAGae84801 : Assert in ExceptionHandling.Taligent.C 1474 34.JAGae87216 : Error 226 no match for const char* parm for string literal 35.JAGae78806 : Error 331 using template const in template default arg 36.JAGae90818 : Signal 11 on EH 37.JAGad01979 : Error 440 can't generate implicit copy ctor for multi dimension array 38.JAGae67510 : Error 388 on explicit specialization of member template 39.JAGae78922 : stdarg problem with +DD64 when calling ctor with double without object 40.JAGae89859 : Bad initialization for multidimensional array 41.JAGae88068 : Signal 11 in addMemberSpecialization with explicit specialization 42.JAGae79003 : ToT P58 E05445 hangs due to bad JAGae04231 fix 43.JAGae92124 : Signal 10 in ld with -b on static template explicitly specialized 44.JAGae95657 : ToT PH 126Y31 Signal 11 constructExceptionRecordForElementOfAutomaticArr 45.JAGae82266 : Incompatible vtable layout starting on A.03.33 46.JAGae77536 : Missed bbopt optimization 47.JAGad55366 : Signal 10 with +O3 +u1 48.JAGae78032 : Implement better debugging dumps for LLO 49.JAGaa68140 : PERF: UP2 dropping some IFNC's for C 50.JAGad58830 : Signal 10 with +O3 +u1 51.JAGae74611 : Ncolor: Error during coloring. with +DA1.1 52.JAGae80146 : Ustack underflow 53.JAGae83231 : memset returns bad address with +Olibcalls 54.JAGae85159 : infinite loop at compile-time with +O2 55.JAGae79729 : +O2 optimizes away too much 56.JAGae87019 : Problem with ceil/floor & +Olibcalls Defect Description: PHSS_29483: 1. JAGae67483 : P58 P15171 Error 19 on throw spec syntax for function returning function 2. JAGae94473 : Error 225 Ambiguous overloaded function call with template 3. JAGae70490 : P60 C09367 no error on non-const init for static data member in class 4. JAGae85398 : References to filescope statics causes inline to be ignored 5. JAGaa86624 : Error 225 Ambiguous overload function call, const base& cast 6. JAGae74068 : Error 174 with explicit spec and verloading between fun and template 7. JAGad44417 : Error 225 overloading on member functions ctor vs conversion operator 8. JAGae68433 : P58 P22032 Error 663, wants template args in member function 9. JAGac46685 : Error 20 for template parm with non-type parm without name 10.JAGae07168 : Error 482 using a template class array inside a template function 11.JAGab83141 : Chained using declaration doesn't give proper access rights 12.JAGad75238 : Explicit constructor shouldn't be called on overload resolution 13.JAGae04231 : ANSIC: IEEE NaN and INF not generated on 0.0 * X 14.JAGae72720 : Signal 11 stack overflow on friend in local class in template 15.JAGae72901 : Error 285 on complex templatized return type 16.JAGae79312 : Incorrect order of evaluation for: (x++) ? x ... 17.JAGae95085 : Variables inside the unnamed namespaces should have unique mangled names 18.JAGae75004 : Error 646 allow 'long long' switch statements 19.JAGae86410 : Warning 67 -Ae on pragma NO_SIDE_EFFECTS 20.JAGae80516 : Support GNU compatible feature '-include ' 21.JAGae94648 : Error 225 Ambiguous overloaded function call; more than one function 22.JAGae87441 : Need +promote_int_parms_to_long for +DD64 23.JAGae77284 : Error 403 on static template functions in SC/Array_alg.[ch] 24.JAGae56440 : Error 419 on typename keyword on namespace qualified class vector -AA 25.JAGae77955 : Symbols not exported with __declspec(dllexport) 26.JAGae82699 : Error 175 on bitfield which width depends on template argument 27.JAGad74285 : Error 475 mem templ class of templ class references wrong specialization 28.JAGad11975 : Error 440 on conform/c13/c13_4/c1340112.C 29.JAGae90885 : +ub doesn't work for template dependent fields 30.JAGae76330 : Unnamed namespaces aren't unique for container using types in them 31.JAGad11982 : M62 c1454321 assert Grammar.y 721 or out of memory 32.JAGae82427 : Missing strong ordering completer for volatile 33.JAGae84801 : Assert in ExceptionHandling.Taligent.C 1474 34.JAGae87216 : Error 226 no match for const char* parm for string literal 35.JAGae78806 : Error 331 using template const in template default arg 36.JAGae90818 : Signal 11 on EH 37.JAGad01979 : Error 440 can't generate implicit copy ctor for multi dimension array 38.JAGae67510 : Error 388 on explicit specialization of member template 39.JAGae78922 : stdarg problem with +DD64 when calling ctor with double without object 40.JAGae89859 : Bad initialization for multidimensional array 41.JAGae88068 : Signal 11 in addMemberSpecialization with explicit specialization 42.JAGae79003 : ToT P58 E05445 hangs due to bad JAGae04231 fix 43.JAGae92124 : Signal 10 in ld with -b on static template explicitly specialized 44.JAGae95657 : ToT PH 126Y31 Signal 11 constructExceptionRecordForElementOfAutomaticArr 45.JAGae82266 : Incompatible vtable layout starting on A.03.33 46.JAGae77536 : Missed bbopt optimization 47.JAGad55366 : Signal 10 with +O3 +u1 48.JAGae78032 : Implement better debugging dumps for LLO 49.JAGaa68140 : PERF: UP2 dropping some IFNC's for C 50.JAGad58830 : Signal 10 with +O3 +u1 51.JAGae74611 : Ncolor: Error during coloring. with +DA1.1 52.JAGae80146 : Ustack underflow 53.JAGae83231 : memset returns bad address with +Olibcalls 54.JAGae85159 : infinite loop at compile-time with +O2 55.JAGae79729 : +O2 optimizes away too much 56.JAGae87019 : Problem with ceil/floor & +Olibcalls Enhancement: No SR: 8606304139 8606333384 8606307457 8606322932 8606105730 8606311213 8606175173 8606305385 8606125929 8606238127 8606110438 8606206063 8606235049 8606309845 8606310027 8606316597 8606334001 8606312185 8606323945 8606317962 8606333560 8606325151 8606314520 8606292687 8606315223 8606320215 8606205109 8606142621 8606329762 8606313532 8606142627 8606319940 8606322333 8606324922 8606316089 8606329695 8606132831 8606304165 8606316205 8606327598 8606325778 8606316286 8606331003 8606334577 8606319778 8606314785 8606186161 8606315300 8606315455 8606189616 8606311790 8606317585 8606320749 8606322692 8606317017 8606324713 Patch Files: ACXX.ACXX,fr=C.03.50,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 /opt/aCC/newconfig/RelNotes/ACXX.release.notes ACXX.ACXX-STDLIB,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include_std/memory /opt/aCC/include_std/istream /opt/aCC/include_std/streambuf /opt/aCC/include_std/sstream /opt/aCC/include_std/ostream /opt/aCC/include_std/ios /opt/aCC/include_std/iomanip /opt/aCC/include_std/fstream /opt/aCC/include_std/rw/time /opt/aCC/include_std/rw/numeral /opt/aCC/include_std/rw/numbrw /opt/aCC/include_std/rw/money /opt/aCC/include_std/rw/messages /opt/aCC/include_std/rw/locimpl /opt/aCC/include_std/rw/collate /opt/aCC/include_std/rw/codecvt /opt/aCC/include_std/rw/stdmutex.h ACXX.ACXX-SC,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include/SC/Array_alg.h /opt/aCC/include/SC/Array_alg.c what(1) Output: ACXX.ACXX,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/bin/aCC: $Revision: 92453-07 linker linker crt0.o B.11.16.01 030316 $ HP aC++ B3910B A.03.52 HP aC++ B3910B A.03.52 HP aC++ B3910B X.03.37.01 Language Support Library /opt/aCC/lbin/ctcom: $Revision: 92453-07 linker linker crt0.o B.11.16.01 030316 $ HP aC++ B3910B A.03.52 HP aC++ B3910B A.03.52 Demangler Library HP-UX SLLIC/OPTIMIZER UX.11.01.291: 09/05/03 linkstamp 10/30/03 13:53:14 HP aC++ B3910B X.03.37.01 Classic Iostream Library HP aC++ B3910B X.03.37.01 Language Support Library Ucode Code Generator - UX11.01.60 (PACG Sep 05, 2003 ) REV: HP SESD Support Code High Level Optimizer - UX.11.00.030905 (UX11.01-CURR ENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck ] - 20-Oct-2003.20:18 Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1 998) 92453-07 linker command s800.sgs libelf PA64 B.11.37 REL 031020 /opt/aCC/lbin/ctcom.pa20: $Revision: 92453-07 linker linker crt0.o B.11.16.01 030316 $ HP aC++ B3910B A.03.52 HP aC++ B3910B A.03.52 Demangler Library HP-UX SLLIC/OPTIMIZER UX.11.01.291: 09/05/03 linkstamp 10/30/03 13:53:14 HP aC++ B3910B X.03.37.01 Classic Iostream Library HP aC++ B3910B X.03.37.01 Language Support Library Ucode Code Generator - UX11.01.60 (PACG Sep 05, 2003 ) REV: HP SESD Support Code High Level Optimizer - UX.11.00.030905 (UX11.01-CURR ENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck ] - 20-Oct-2003.20:18 Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1 998) 92453-07 linker command s800.sgs libelf PA64 B.11.37 REL 031020 /opt/aCC/lib/nls/msg/C/aCC.cat: None. /opt/aCC/newconfig/RelNotes/ACXX.release.notes: None. ACXX.ACXX-STDLIB,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include_std/memory: None. /opt/aCC/include_std/istream: None. /opt/aCC/include_std/streambuf: None. /opt/aCC/include_std/sstream: None. /opt/aCC/include_std/ostream: None. /opt/aCC/include_std/ios: None. /opt/aCC/include_std/iomanip: None. /opt/aCC/include_std/fstream: None. /opt/aCC/include_std/rw/time: None. /opt/aCC/include_std/rw/numeral: None. /opt/aCC/include_std/rw/numbrw: None. /opt/aCC/include_std/rw/money: None. /opt/aCC/include_std/rw/messages: None. /opt/aCC/include_std/rw/locimpl: None. /opt/aCC/include_std/rw/collate: None. /opt/aCC/include_std/rw/codecvt: None. /opt/aCC/include_std/rw/stdmutex.h: None. ACXX.ACXX-SC,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include/SC/Array_alg.h: Array_alg:incl/Array_alg.h 3.2 /opt/aCC/include/SC/Array_alg.c: Array_alg:incl/Array_alg.c 3.2 cksum(1) Output: ACXX.ACXX,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: 3872935150 221184 /opt/aCC/bin/aCC 4220841616 14973608 /opt/aCC/lbin/ctcom 2512404845 14617256 /opt/aCC/lbin/ctcom.pa20 3233510866 133864 /opt/aCC/lib/nls/msg/C/aCC.cat 1881237788 125783 /opt/aCC/newconfig/RelNotes/ ACXX.release.notes ACXX.ACXX-STDLIB,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: 3641108518 24803 /opt/aCC/include_std/memory 2944053510 19108 /opt/aCC/include_std/istream 4009137813 16631 /opt/aCC/include_std/streambuf 1033237492 11904 /opt/aCC/include_std/sstream 2073321759 17343 /opt/aCC/include_std/ostream 2801021557 8176 /opt/aCC/include_std/ios 825555180 5548 /opt/aCC/include_std/iomanip 4217541511 19475 /opt/aCC/include_std/fstream 4152973131 13762 /opt/aCC/include_std/rw/time 4138220924 25158 /opt/aCC/include_std/rw/numeral 912091113 30048 /opt/aCC/include_std/rw/numbrw 3096359838 26862 /opt/aCC/include_std/rw/money 1510148785 6376 /opt/aCC/include_std/rw/messages 481575713 20336 /opt/aCC/include_std/rw/locimpl 2877022204 9833 /opt/aCC/include_std/rw/collate 3902995772 22822 /opt/aCC/include_std/rw/codecvt 2135922503 25659 /opt/aCC/include_std/rw/stdmutex.h ACXX.ACXX-SC,fr=C.03.50,fa=HP-UX_B.11.00_32/64,v=HP: 1711932077 10792 /opt/aCC/include/SC/Array_alg.h 795256697 32690 /opt/aCC/include/SC/Array_alg.c Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 11930 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_29483 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_29483.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_29483. 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_29483.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_29483.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_29483.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None