Patch-ID# 100318-01 Keywords: generator, code, sun3, shifting, constant, op, bitfield, compare Synopsis: C 1.1: problem with code generator handles comparisons of bitfield Date: 17-Jun-91 SunOS release: 4.1 Unbundled Product: C Unbundled Release: 1.1 Topic: Patch for cg and ccom for sun3 only BugId's fixed with this patch: 1059013 Architectures for which this patch is available: sun3, sun3x Patches which may conflict with this patch: Obsoleted by: Problem Description: Comparisons between bitfield and constant produce incorrect results. INSTALL: Move the patched "ccom" and "cg" under the ../sun3 directory in this patch tree into the 1.1 C compiler directory on user machine: For example: If the 1.1 C compiler "ccom" and is located at: /usr/lang/SC1.0/{ccom,cg} then first save the original "ccom" and "cg", then move the patched "ccom" and "cg" into the appropriate directory: 1. mv /usr/lang/SC1.0/ccom /usr/lang/SC1.0/ccom.FCS mv /usr/lang/SC1.0/cg /usr/lang/SC1.0/cg.FCS 2. mv ../sun3/ccom /usr/lang/SC1.0/ccom mv ../sun3/cg /usr/lang/SC1.0/cg