Patch-ID# 112761-10 Keywords: c 5.5 security Synopsis: C 5.5_x86: Patch for S1S8CC C compiler Date: Oct/01/2004 Install Requirements: None Solaris Release: 7_x86 8_x86 9_x86 SunOS Release: 5.7_x86 5.8_x86 5.9_x86 Unbundled Product: Sun ONE Studio 8 Compiler Common C Unbundled Release: 5.5_x86 Xref: Topic: Relevant Architectures: i386 BugId's fixed with this patch: 1253033 4309958 4395077 4408927 4708828 4774706 4806149 4809489 4810947 4815236 4821024 4821786 4822247 4823162 4824557 4824750 4826795 4826993 4829392 4830854 4831889 4832526 4833180 4835790 4835844 4836247 4836827 4842571 4842575 4842685 4845935 4846094 4846908 4848777 4854646 4856679 4866244 4875766 4876867 4877995 4898183 4900673 4902471 4906656 4907885 4923423 4923441 5010364 5015854 5049814 5054633 5067752 Changes incorporated in this version: 5067752 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /SUNWspro/prod/bin/acomp /SUNWspro/prod/bin/c89 /SUNWspro/prod/bin/c99 /SUNWspro/prod/bin/cc /SUNWspro/prod/bin/lint /SUNWspro/prod/bin/lint1 /SUNWspro/prod/bin/lint2 /SUNWspro/prod/bin/lint2n /SUNWspro/prod/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_acomp.error_help.html /SUNWspro/prod/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_acomp.msg Problem Description: 5067752 cg fails w/ "assertion failed in file ../src/codegen/map_pseudo.cc at line 8589" (from 112761-09) 5054633 escaped numerics in string literals w/ -xustr=ascii_utf16_ushort fail to compile (from 112761-08) 5049814 SS8 lint crashes with a PTC source file (from 112761-07) 5010364 compiler components should not use libc private interfaces 5015854 MATLAB routine crashes S1S8 compiler (from 112761-06) 4830854 _Pragma causes internal compiler error: non-null curtoken in lx_s_sharp() (from 112761-05) 4902471 fpclassify can trash the stack 4907885 bug in cc when -g or -O are not used (from 112761-04) 4866244 k2 (fcs) generates different code on reruns in some case (nothing else changed) 4923441 lint complains about some constant format strings 4923423 patches 112756-nn & 112761-nn dependent on each other|cc passes extra arg to fbe (from 112761-03) 4898183 lint security checks should treat other gettext() variants like gettext() 4906656 Undefined symbol _Q_cmp for comparison macros (from 112761-02) 4875766 mercury x-86 & sparc C compiler gives error on simple C file 4876867 mercury acomp fails on 403.gcc benchmark 4877995 Add checking for insecure coding practices to lint 4900673 ir_type of addr-const leaf of array is incorrect: "pointer pointer array" (from 112761-01) 4856679 REGRESSION: duplicated .a and .o files are no longer being passed to ld 4854646 QS: Add option -xldscoperef 4846094 -xsfpconst does not function properly from K2 onwards 4842571 wrong value for imaginary to bool conversion 4848777 K2: After build a lot of 0-size temporary files were left in /tmp 4833180 cg failed: CODEGEN IR TREE SYNTAX in return (f(v1,v2)?v1:v2); v1 & v2 in diff _Imaginary types 4810947 needs support for predefined macro __STDC_HOSTED__. 4845935 C driver does not pass -D_REENTRANT when passed -xopenmp 4809489 bitfield 0 for unnamed members should be allowed in struct/union 4309958 lint: Segmentation fault with -Nlevel=3 4408927 lint -Nlevel=4 dumps core 4395077 static detection of unset variables doesn't work 4836247 acomp hangs with a bad input. 4826795 __tgmath_nexttoward broken for float and double first argument 1253033 c compiler -c -o option will not allow for anything but extension of .o 4842575 cc -xipo -xhwcprof -xdebugformat=dwarf creates bad relocations in dwarf symbols 4806149 Too slow compilation with '-fast' switch 4824557 PCH: #error directive is not allowed in viable prefix 4821024 C Precompiled headers performance problem 4822247 warning: PCH file unusable, -D or -U options must match used when creating pch 4821786 PCH: incorrect viable prefix when declaration used in main source 4708828 Data needing relocation goest to .rodata instead of .picdata 4832526 bad IR header with -xhwcprof {-xparallel,-xautopar,-xexplicitpar,-xopenmp} 4829392 tls + data fragmentation + optimization is not yet supported in K2 for c 4774706 Static variables defined in precompiled headers can't be displayed in dbx 4826993 simple c program segfaults with SunONE 8 compiler 4824750 (_Bool)(37 * _Imaginary_I) should yield 1 instead of 0. 4846908 expression !(double) is evaluated incorrectly 4831889 yabe (intel platform) for expression n/(n+0*I) gives the wrong result (1,0). 4835790 wrong section name when using data fragmentation 4836827 -xF=gbldata on intel: debug C++ data fragmentation code does not work 4842685 wrong value for complex to bool conversion 4823162 many dbx/c++ tests are dumping core because yabe ignored -xF=gbldata flag on intel. 4815236 empty function generates 13 or 17 instructions; should be 2 4835844 Data fragmentation: .section ".picdata%name" is empty with -KPIC Patch Installation Instructions: -------------------------------- For Solaris 7-9 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: Friday, October 1, 2004