Patch Name: PHSS_26793 Patch Description: s700_800 11.X +O4/PBO Compiler B.11.11.04 cumulative patch Creation Date: 02/04/08 Post Date: 02/04/19 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: C-ANSI-C B.11.11.04 aCC compiler fortran 77 compiler Filesets: Auxiliary-Opt.LANG-AUX,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_26793 Symptoms: PHSS_26793: The fixes for the below mentioned defects have been included JAGad87084 : mod operator returns wrong result under +O2 and shared memory usage JAGad88830 : Warning 5004 for uninitialized var occurs on empty class use JAGad91130 : Optimizer breaks handling of "infinity" and "not-a-number" JAGad94235 : application using pointers to char arrays in structure and +O1 or +O2 JAGad95655 : internal panic 7816: Malloc: overflow detected in free with option +O2 JAGad95818 : After a return from a function call, the pointer did not get reloaded. JAGad98304 : Synopsis: sanity-checker failure - SAR not alive JAGae00850 : HLO produces illegal data type error downstream in Ucode JAGae02285 : Bad address for string literal with +Eslit and templates JAGae02290 : /usr/ccs/bin/ld: (Warning) Quadrant change in relocatable expression JAGae06184 : AR1201 R19 bad when calling OpenGL functions JAGae08429 : memset is not clearing up a struct in the stmt memset(a, 0, sizeof(a)) PHSS_25986: The fixes for the below mentioned defects have been included JAGaa68280 : Error 5220 with +O4 and private inheritance on templates JAGad88511 : accept optn 137 JAGad94111 : Sanity-checker failure with +O2 +Ofastaccess +UzC1 +DA1.1b JAGaa68160 : NYI: next_data_in_bss OPTN 242 lost JAGad90752 : Signal 11 in DOC mode JAGad75977 : tot fails at +O3 JAGad92020 : Partial initialization failure at +O3 JAGad88386 : DOC: Incorrect Backend Assert ** COMDATdebug: Cannot emit non-comdat S JAGad91093 : DOC: Signal 11 in cg_end JAGad97555 : Signal 11 with threadprivate for static vars JAGad75978 : tot fails at +O3 JAGad91449 : warning 6099: Optimization aborted in function JAGad92578 : PA-RISC C compiler does not allow inline asm DEPD at opt level < 2 JAGad93891 : ANSI C patch PHSS_24830 causes "pxdb internal warning" SLT_END JAGad58671 : structure initialization gives wrong results JAGad92016 : Partial initialization fails with +O3 JAGad89197 : HLO gives an asertion JAGae00543 : Signal 11 in lu_transform_reductions with +Onofltacc JAGad93558 : cc: error 1405: "/opt/ansic/lbin/ccom" terminated abnormally with signal JAGad89882 : error 1405 /lbin/ccom core + signal 11 JAGad97737 : We cannot get a correct answer by "-O(optimization)" option. JAGad08004 : release_ux built f90 compiler fails DD64 JAGab25922 : for loop not parallelized if address of loop variable taken JAGad24346 : OpenGL - +O4 optimization on 11.0 32-bit reports TLS error ( C Back End ) JAGad90751 : DOC2: assert failure in convert_ntt_index_to_sllic_ptr and signal 6 JAGad68804 : Signal 11 on +Onofltacc JAGad83309 : Allowing ucomp to proceed when program name(+pgm) not found in flow.data JAGad87394 : Spurious 6378 error from PA64 ucomp when linking executable by pathname JAGae02410 : DOC: pxdb internal error: corrupted debug info. Cannot continue. JAGad87488 : SLT gets corrupted in DOC mode JAGad90637 : Bad code with +O2 +DD64 on a function returning a struct Defect Description: PHSS_26793: The fixes for the below mentioned defects have been included JAGad87084 : mod operator returns wrong result under +O2 and shared memory usage JAGad88830 : Warning 5004 for uninitialized var occurs on empty class use JAGad91130 : Optimizer breaks handling of "infinity" and "not-a-number" JAGad94235 : application using pointers to char arrays in structure and +O1 or +O2 JAGad95655 : internal panic 7816: Malloc: overflow detected in free with option +O2 JAGad95818 : After a return from a function call, the pointer did not get reloaded. JAGad98304 : Synopsis: sanity-checker failure - SAR not alive JAGae00850 : HLO produces illegal data type error downstream in Ucode JAGae02285 : Bad address for string literal with +Eslit and templates JAGae02290 : /usr/ccs/bin/ld: (Warning) Quadrant change in relocatable expression JAGae06184 : AR1201 R19 bad when calling OpenGL functions JAGae08429 : memset is not clearing up a struct in the stmt memset(a, 0, sizeof(a)) PHSS_25986: The fixes for the below mentioned defects have been included JAGaa68280 : When removing duplicate globals vtables in a Comdat, a static is left.Comdata must contain at least one global JAGad88511 : Bit fields are not getting initialized properly when run with +O3 option JAGad94111 : Problem in Basic Block Optimization while merging the Basic Blocks JAGaa68160 : The ucode coming into HLO from the aC++ frontend inserts an OPTN 242 which HLO wasn't passing to the code generator. JAGad90752 : Incomplete and incorrect processing of debug OPTNs for comdats. JAGad75977 : Closed without change. JAGad92020 : Closed without change. JAGad88386 : Comdat zone switching not done properly JAGad91093 : DOC related initializations not done after occurence of OPTN 7 2 JAGad97555 : Static variables was not handled properly during the threadprivate implementation. JAGad75978 : Edge splitting & folding are done prior and after PRE.PRE runs just before the output phase. EF(Edge folding) was uncovering a loop & failed to register it with OPT_DB. Output phase was asserting on that condition. JAGad91449 : The PICLBL instruction which is a pseudo instruction emitted when PIC is used, always needs to be the very first instruction after function entry. When the function entry instruction was moved to a different basic block, the information of a following PICLBL instruction was lost, and a further optimization moved a load instruction between the function entry and the PICLBL. JAGad92578 : Closed with no change : User error. JAGad93891 : Incomplete and incorrect processing of debug OPTNs for comdats. JAGad58671 : HLO was emitting wrong intializer in the data segment. It's because instead of taking value from the LSB, it's taking value from the MSB JAGad92016 : With a partially initialized global array, non initialized elements were not properly set to 0.If the array is not fully initialized, a flag was supposed to be set indicating the same. This was not happening. This resulted in uninitialized parts of the global array having garbage value. JAGad89197 : The failure was while merging two basic block in DCE after inlining. JAGae00543 : Duplicate of JAGad68804 JAGad93558 : Problem in Compiler Utility Routines JAGad89882 : Overflow of SymId data structure JAGad97737 : While doing the load-store coalescing, only the register dependecies where being checked by the current design. Coalescing without checking memory dependecies caused the wrong result. JAGad08004 : The run-time failure is caused by an illegal code motion in scheduler JAGab25922 : for loop not parallelized if address of loop variable taken JAGad24346 : NSYM emitted for HP_PLT_CALL function caused symbol to be passed to the linker JAGad90751 : Incomplete and incorrect processing of debug OPTNs for comdats. JAGad68804 : During the dot product optimization, it was assumed that during loop unrolling, the compensation loop was assumed to be at first. So, in cases where this was later, the error happens. JAGad83309 : The defect was to allow ucomp to proceed even if the file name was present in flow.data. Additionally this defect also incorporates the new feature +Oprofile[=collect/use] JAGad87394 : Ucomp was not extracting the name of the executable from the input path . This executable name was then not matching the one in flow.data. JAGae02410 : DOC2 debug processing omitted for data declaration procedures resulting in corruption of SLT and LNTT tables. JAGad87488 : The debug header was wrongly marked as in XDB format, but written in DOC1 format, causing pxdb to read the SLT and LNTT wrongly. JAGad90637 : it is during the instruction scheduling phase that, the load gets moved above the corresponding store instruction. SR: 8606217934 8606219690 8606222015 8606225147 8606226590 8606226756 8606229251 8606231612 8606233061 8606233066 8606237139 8606241155 5003433102 1653306522 8606138757 8606155029 8606189457 8606199618 8606206804 8606206805 8606214118 8606218244 8606219238 8606219369 8606220056 8606220746 8606233187 8606218339 8606221617 8606221618 8606221975 8606222334 8606222910 8606222914 8606223481 8606224470 8606224803 8606225023 8606228498 8606228682 8606231305 8606199088 8606221503 Patch Files: Auxiliary-Opt.LANG-AUX,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/lbin/ucomp /opt/langtools/lib/nls/msg/C/ucomp.cat /opt/langtools/lib/libcomp.sl what(1) Output: Auxiliary-Opt.LANG-AUX,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: /opt/langtools/lbin/ucomp: HP-UX UCOMP UX.11.01.67: 04/08/02 HP-UX SLLIC/OPTIMIZER UX.11.01.278: 04/08/02 HP aC++ B3910B A.01.01 Stream Library HP aC++ B3910B A.03.04 (970930) Support Library Ucode Code Generator - UX11.01.46 (PACG Apr 08, 2002 ) High Level Optimizer - UX.11.00.020408 (UX11.01-CURR ENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck ] - 09-Apr-2002.00:42 Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1 998) Internal_Unsupported_Version libc.a_ID@@/main/r10dav /libc_dav/libc_dav_cpe/eso_raghud_raghud_102 0_test_br/1 /ux/core/libs/libc/archive_pa1/libc.a_ID Apr 6 2001 21:06:17 /opt/langtools/lib/nls/msg/C/ucomp.cat: None. /opt/langtools/lib/libcomp.sl: HP-UX UCOMP UX.11.01.67: 04/08/02 cksum(1) Output: Auxiliary-Opt.LANG-AUX,fr=B.11.11.04,fa=HP-UX_B.11.00_32/64, v=HP: 2126065674 8572928 /opt/langtools/lbin/ucomp 2202395153 42260 /opt/langtools/lib/nls/msg/C/ucomp.cat 2482321263 28672 /opt/langtools/lib/libcomp.sl Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_25986 Equivalent Patches: None Patch Package Size: 8470 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_26793 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_26793.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_26793. 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_26793.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_26793.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_26793.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None