* config/h8300/h8300.c (notice_update_cc): Correctly handle
the case where the set destination is STRICT_LOW_PART.
From-SVN: r64711
+2003-03-22 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c (notice_update_cc): Correctly handle
+ the case where the set destination is STRICT_LOW_PART.
+
2003-03-22 Svein E. Seldal <Svein.Seldal@solidas.com>
* config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
set = single_set (insn);
cc_status.value1 = SET_SRC (set);
if (SET_DEST (set) != cc0_rtx)
- cc_status.value2 = SET_DEST (set);
+ {
+ /* If the destination is STRICT_LOW_PART, strip off
+ STRICT_LOW_PART. */
+ if (GET_CODE (SET_DEST (set)) == STRICT_LOW_PART)
+ cc_status.value2 = XEXP (SET_DEST (set), 0);
+ else
+ cc_status.value2 = SET_DEST (set);
+ }
break;
case CC_COMPARE: