Patch-ID# 101205-11 Keywords: C, C++, FORTRAN, assembler, TeamWare, gprof, gcrt1.o Synopsis: ProCompiler 2.0.1_x86: C, C++, FORTRAN patch Date: Feb/21/96 Solaris Release: 2.1_x86 2.4_x86 SunOS Release: 5.1_x86 5.4_x86 Unbundled Product: ProCompiler Unbundled Release: 2.0.1_x86 Relevant Architectures: i386 BugId's fixed with this patch: 1129279 1129802 1129805 1129998 1130949 1131649 1132143 1132527 1132803 1133016 1133150 1133160 1133162 1133163 1134812 1135079 1135125 1135847 1136076 1136155 1136254 1136321 1136398 1137382 1137487 1137892 1138159 1138750 1138945 1140882 1141047 1141894 1141912 1142031 1142637 1142916 1143420 1143448 1144083 1144138 1145077 1145276 1145373 1145518 1145656 1145699 1146246 1146759 1147492 1147505 1147801 1148503 1149156 1156755 1161159 1161604 1165350 1168339 1170108 1172080 1178742 1182070 1182801 1185997 1188925 1193527 1205429 1210706 1212072 1215953 1216571 1234991 3002510 Changes incorporated in this version: 1234991 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: /opt/SUNWspro/SC2.0.1/gcrt1.o /opt/SUNWspro/SC2.0.1/tools/gprof /opt/SUNWspro/SC2.0.1/CC /opt/SUNWspro/SC2.0.1/acomp /opt/SUNWspro/SC2.0.1/cc /opt/SUNWspro/SC2.0.1/cg386 /opt/SUNWspro/SC2.0.1/codegen_p4 /opt/SUNWspro/SC2.0.1/f77pass1 /opt/SUNWspro/SC2.0.1/cg386_f /opt/SUNWspro/SC2.0.1/codegen /opt/SUNWspro/SC2.0.1/crt1.o /opt/SUNWspro/SC2.0.1/f77 /opt/SUNWspro/SC2.0.1/f80387/libp/libm.a /opt/SUNWspro/SC2.0.1/f80387/libm.il /opt/SUNWspro/SC2.0.1/f80387/__fstd.o /opt/SUNWspro/SC2.0.1/f80387/__fnonstd.o /opt/SUNWspro/SC2.0.1/f80387/libm.a /opt/SUNWspro/SC2.0.1/fbe /opt/SUNWspro/SC2.0.1/include/CC/task.h /opt/SUNWspro/SC2.0.1/llib-lm.ln /opt/SUNWspro/SC2.0.1/mcrt1.o /opt/SUNWspro/SC2.0.1/pcrt1.o /opt/SUNWspro/SPROflmrg/bin/filemerge /opt/SUNWspro/SC2.0.1/README/c++_software /opt/SUNWspro/SC2.0.1/cfront /opt/SUNWspro/SC2.0.1/libp/libtask.a /opt/SUNWspro/SC2.0.1/libtask.a /opt/SUNWspro/SC2.0.1/libF77.a /opt/SUNWspro/SC2.0.1/libF77.so.2 /opt/SUNWspro/SC2.0.1/libM77.a /opt/SUNWspro/SC2.0.1/libM77.so.2 /opt/SUNWspro/SC2.0.1/libV77.a /opt/SUNWspro/SC2.0.1/libV77.so.2 /opt/SUNWspro/SC2.0.1/libp/libF77.a /opt/SUNWspro/SC2.0.1/libp/libM77.a /opt/SUNWspro/SC2.0.1/libp/libV77.a /opt/SUNWspro/SC2.0.1/sbxref Problem Description: (rev 11) CC and cc ========== 1234991 Must predefine __sparc, __BUILTIN_VA_ARG_INCR __sun __unix (rev 10) libm.a ========== 1215953 cosd(3M) does not work correctly on X86 if degree is 180.0 (rev 09) C compiler ========== 1205429 After installed PatchID# 101205-06, C compiler is not able to compile with -O option Fortran compiler ================ 1210706 Fortran 2.0.1 x86 incorrectly handles automatic variables w/ or w/o patch# 101205-06 1216571 Reference to any array variable declared as AUTOMATIC has offset computed as 0 C++ compiler ============ 1212072 C++ 3.0.1 : cfront : internal error : bus error (rev 08) C compiler ========== 1193527 SC2.0.1 patch-05 C compiler produces bad code for longlong (rev 07) gcrt1.o ======= 1146246 cc -xpg(gprof type profiling) does not generate proper call graph (rev 05) C compiler ========== 1185997 nanosleep() has spurious behaviour depending on h/w platform and time specified 1188925 latest 2.0.1 patch cannot compile libnsl/dial/dial.c 1165350 Cannot bring up Workspace Properties 1168339 X86: AccessX on ea2 dumps core when Help item is selected 1178742 x86 c compiler creates bad PIC code for small functions 1182070 495 CBE C compiler code generator fails (495 CBE is currently the 494 CBE) 1182801 RootShell.c fails to compile with assembler code error "multiply defined label" 1172080 cc fails to compile the filename "a%S.c" 1170108 x86 C compiler/optimizer doesn't usually generate correct code (rev 04) C compiler ========== 1148503 Volatile references are not generated 1142031 Volatile references get optimized out 1145373 The C compiler does not optimize correctly 1141912 C compiler optimizes too much 1149156 C compiler "couldn't color the interference graph!" 1156755 C compiler generates wrong offsets if accessing before the arguments 1161159 Optimized "if" statement generated by x86 C Compiler is wrong Fortran Compiler ================ 1161604 Can't debug Fortran code with certain code constructs (rev 02) C compiler ========== 1146759 Null in string followed by a digit interpreted incorrectly 1143448 Compiler generates incorrect jump when asm() follows if statement 1142637 The -xpentium flag is not accepted 1138945 at dbx breakpoint line from include file is displayed instead of local function 1145656 code generator sometimes reversed order of operands of a f.p. subtract or divide 1129998 Incorrect stabs when included file contains executable code 1145518 Expressions using the -= and /= operators sometimes computed incorrectly 1144083 asm statement doesn't work for strings containing a colon 1145077 Incorrect optimization of if statement 1147492 Reference to a field of a structured function causes compiler to abort 1141894 ABI violation: compiler generates references to __xtol, __xtoll, and __xtoull C++ compiler ============ 1147801 task.h is missing from /opt/SUNWspro/SC2.0.1/include/CC fortran compiler ================ 1144138 incorrect length used for character argument 1145699 incorrect optimization of loops assembler ========= 1141047 assembler sometimes generates huge object files 1143420 assembler fails with message "cannot alloc data for section" 1145276 Incorrect branches generated when assembling program compiled with -xF option math library ============ 1142916 invalid opcode in inline expansion of fabs() in libm.il 1140882 call to signaling_nan raises exception 1137382 program using ieee_handler fails with segmentation violation filemerge ========= 1147505 Filemerge requires a Teamware license token even if Proworks is installed. (rev 01) C compiler ========== 1138750 The "weak" pragma not fully implemented. 1136155 -xF flag is not supported. 1129998 Incorrect stabs when included file contains executable code 1136076 NaN comparisons incorrect 1138159 Incorrect code may be generated for calls with -Kpic 1132143 bad code generated for sign transfer macro 1136254 bad code generation for float variables with -g 3002510 Assembler aborts when certain sources are compiled with -g -c -Wa, -s 3002521 Return value mishandled when one function call away from proc exit, using -K PIC c++ compiler ============ 1133160 C++ compile dies with "SYSTEM ERROR 1" 1133163 C++ compiler dies with "SYSTEM ERROR 1" and "SYSTEM ERROR 2" 1133162 C++ compiler segmentation fault in codegen 1137892 c++ long double is wrong internally 1135079 x86 c++ compiler produces code which core dumps when using -O fortran compiler ================ 1134812 sbxref binary missing 1129279 -sbfast option produces a .s file 1130949 calls to complex functions leave stack pointer incorrect 1132527 int local variables not always 4-byte aligned 1132803 incorrect evaluation of x**n 1133016 Formatted write sometimes leaves stuff on the x87 stack 1129802 Compiler aborts with "cannot find an initialization" message with -pic 1129805 undefined symbol for unreference variable in namelist 1131649 x86 acos is much too inaccurate 1133150 incorrect trig argument reduction 1135847 fpu stack overflow 1136321 compiler aborts with register mapping error 1136398 compiler aborts with message "Can't allocate register" with -O4 option assembler ========= 1135125 Incorrect instruction generated for branches when more than 15 sections math library ============ 1137487 undefined symbol Infl at ld-time 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.