Commit 0f47edd3 by Jeff Law

combine.c (rtx_equal_for_field_assignment_p): Check for get_last_value returning…

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
parent 292099cc
......@@ -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)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment