From: Jeff Law Date: Sun, 4 Aug 1996 05:26:17 +0000 (-0600) Subject: combine.c (rtx_equal_for_field_assignment_p): Check for get_last_value returning... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f47edd345be048d7b7a787dda85306b26c0d510;p=gcc.git combine.c (rtx_equal_for_field_assignment_p): Check for get_last_value returning (CLOBBER (CONST_INT 0)). * combine.c (rtx_equal_for_field_assignment_p): Check for get_last_value returning (CLOBBER (CONST_INT 0)). From-SVN: r12590 --- diff --git a/gcc/combine.c b/gcc/combine.c index 03b86449355..796a7c24cdd 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -6569,9 +6569,15 @@ rtx_equal_for_field_assignment_p (x, y) last_x = get_last_value (x); last_y = get_last_value (y); - return ((last_x != 0 && rtx_equal_for_field_assignment_p (last_x, y)) - || (last_y != 0 && rtx_equal_for_field_assignment_p (x, last_y)) + return ((last_x != 0 + && GET_CODE (last_x) != CLOBBER + && rtx_equal_for_field_assignment_p (last_x, y)) + || (last_y != 0 + && GET_CODE (last_y) != CLOBBER + && rtx_equal_for_field_assignment_p (x, last_y)) || (last_x != 0 && last_y != 0 + && GET_CODE (last_x) != CLOBBER + && GET_CODE (last_y) != CLOBBER && rtx_equal_for_field_assignment_p (last_x, last_y))); }