Patch-ID# 112761-13


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: c 5.5 security
Synopsis: C 5.5_x86: Patch for S1S8CC C compiler
Date: Jun/22/2005


Install Requirements: NA

Solaris Release: 7_x86 8_x86 9_x86 10_x86

SunOS Release: 5.7_x86 5.8_x86 5.9_x86 5.10_x86

Unbundled Product: Sun ONE Studio 8 Compiler Common C

Unbundled Release: 5.5_x86

Xref:

Topic:

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
125303314916708
430995815013933
439507715046457
440892715050902
470882815113495
477470615132227
480614915142408
480948915143471
481094715143966
481523615145326
482102415147176
482178615147440
482224715147589
482316215147895
482455715148334
482475015148398
482679515149000
482699315149058
482939215149760
483085415150208
483188915150537
483252615150734
483318015150939
483579015151778
483584415151798
483624715151945
483682715152137
484257115154099
484257515154100
484268515154133
484593515154927
484609415154973
484690815155235
484877715155729
485464615157462
485667915158158
486624415160736
487576615163292
487686715163628
487799515163980
489818315170228
490067315170977
490247115171470
490665615172703
490788515173048
492342315177221
492344115177228
501036415200393
501585415202122
504981415211909
505463315213257
506775215216677
511025015230206
620826715241026
622446115247325
625467615259968


Changes incorporated in this version: 6254676

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 112756-09 (or greater)

Obsoleted by:

Files included with this patch:

<install_dir>/SUNWspro/prod/bin/acomp
<install_dir>/SUNWspro/prod/bin/c89
<install_dir>/SUNWspro/prod/bin/c99
<install_dir>/SUNWspro/prod/bin/cc
<install_dir>/SUNWspro/prod/bin/lint
<install_dir>/SUNWspro/prod/bin/lint1
<install_dir>/SUNWspro/prod/bin/lint2
<install_dir>/SUNWspro/prod/bin/lint2n
<install_dir>/SUNWspro/prod/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_acomp.error_help.html
<install_dir>/SUNWspro/prod/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_acomp.msg

Problem Description:

6254676 Patch 112760-17 causes compiler to produce bad code
 
(from 112761-12)
 
6224461 - Unicode character arrays U"" have wrong size
 
(from 112761-11)
 
5110250 PTC: lint should produce warning
6208267 Unicode character literals U'' have wrong values
 
(from 112761-10)
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, November 9, 2012