Patch-ID# 104632-11 Keywords: y2000 pc Pascal SC4.2 Synopsis: SPARCompiler Pascal 4.2: Patch for Pascal 4.2 Date: Jan/06/00 Solaris Release: 2.4 2.5 2.5.1 2.6 7 SunOS Release: 5.4 5.5 5.5.1 5.6 5.7 Unbundled Product: SPARCompiler Pascal Unbundled Release: 4.2 Relevant Architectures: sparc BugId's fixed with this patch: 4015159 4019494 4028713 4028975 4029775 4030022 4037301 4012945 4007184 4037775 4028435 4006347 4041394 4054843 4060759 4064380 4094203 4046030 4291453 4289965 4302142 Changes incorporated in this version: 4302142 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/SC4.2/bin/cg /SUNWspro/SC4.2/bin/iropt /SUNWspro/SC4.2/bin/pc0 /SUNWspro/SC4.2/lib/libpc.a /SUNWspro/SC4.2/lib/libpc.so.4 /SUNWspro/SC4.2/lib/libpc_mt.a /SUNWspro/SC4.2/lib/libpc_mt.so.4 /SUNWspro/SC4.2/lib/libp/libpc.a /SUNWspro/SC4.2/lib/libp/libpc_mt.a /SUNWspro/SC4.2/lib/cg/model_cg_super2.so.2 /SUNWspro/SC4.2/lib/cg/model_cg_ultra.so.2 /SUNWspro/SC4.2/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libpc.cat /SUNWspro/SC4.2/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libpc.msg /SUNWspro/SC4.2/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_pc0.cat /SUNWspro/SC4.2/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_pc0.msg Problem Description: 4302142 Y2K:Patch 104632-10 causes date() to output 1901 instead of (from 104632-10) 4291453 Pascal 4,2 does not compile code that 3.0 version compiled 4289965 calign* return incorrect value (from 104632-09) 4046030 Pascal needs a more general function to issue the current date. (from 104632-08) 4094203 Pascal compiler genereates incorrect code (from 104632-07) 4064380 Internal error from pc 4.2: cg cannot calculate difference between symbols (from 104632-06) 4060759 pascal compiler 4.2 errors w/"cg error (as) : missing definition for local sym" (from 104632-05) 4054843 pascal 4.2: executable compiled with -Z -O crashes (from 104632-04) (from 104632-03) 4006347 f77 generates *very* slow code for complex 4041394 SC4.2 pc optimization problem: program dumps core at runtime (bus error) (from 104632-02) 4037301 SC4.2: pc optimizes record data assignment incorrectly. 4012945 Incorrect initialization of arrays of records with pointer fields. 4007184 pascal 4.0 causes incorrect result in if then else statement. 4028435 pc0 dumps core on auto-generated source code. 4037775 sc4.2 patch 104667-02 breaks C++ exceptions (from 104632-01) 4015159 Optimization levels 2 and 3 generate incorrect code (xO2, xO3) 4019494 Slower code generated by the 4.2 Oct 96 compiler 4030022 pc -O yield incorrect result at runtime with variant record. 4029775 SC4.2 cannot link program with static structure compiled with pc 4028713 initialization of a pointer in a structure to 'nil' does not work 4028975 SC4.2 PASCAL incorrect behavior of packed array in record structure Patch Installation Instructions: -------------------------------- Refer to the Install.info file for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below as special instructions. Special Install Instructions: ----------------------------- None.