Patch-ID# 101909-07 Keywords: C preprocessor incorrect output file sybdb.h header file Synopsis: SPARCompiler C 3.0.1: C patch for Solaris 2.x Date: Mar/28/96 Solaris Release: 2.2 2.3 2.4 2.5 SunOS Release: 5.2 5.3 5.4 5.5 Unbundled Product: SPARCompiler C Unbundled Release: 3.0.1 Relevant Architectures: sparc BugId's fixed with this patch: 1171109 1171312 1171342 1173308 1173609 1179356 1180926 1186617 1187952 1191171 1197883 1206604 1234682 Changes incorporated in this version: 1234682 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: /bin/acomp cg cc cc.1 fbe iropt Problem Description: BugId Escalation Synopsis ----- ---------- ------------------------------------- (Rev 7) 1234682 504181 SC3.0.1 C preprocessor produces incorrect output file with sybdb.h header file (Rev 6) 1206604 When compiling, the executable may (rarely) get an integer divide by zero exception at run-time. This bug occurs at optimization levels -xO3 and above when combined with -xcg92. 1197883 When compiling code containing calls with structures passed by value, the code generator may occasionally generate incorrect code. This bug occurs at optimization levels -xO1 and above. (Revs 1-5) Bug Id Synopsis 1171109 compiling with -O2 causes assertion error in cg 1171312 pragma pack may not work correctly with initialized structures 1171342 program with pragma pack fails to compile 1173308 Compiler asserts compiling program with byte sized constants 1173609 C compiled with -xO1 turns off debugging 1179356 -Xc cause x .i file generates error for invalid in #line directive 1180926 cg botches 8 or 16 bit arithmetic 1186617 iropt: strength reduction of multiply inside subscript fails big performance loss 1187952 cc updated to use incremental linker 1191171 internal error in fbe (assembler) Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions appended to this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: ----------------------------- None.