Commit bde7d04b by Richard Biener Committed by Richard Biener

gimple.h (gimple_cond_make_false): Use 0 != 0.

2015-07-23  Richard Biener  <rguenther@suse.de>

	* gimple.h (gimple_cond_make_false): Use 0 != 0.
	(gimple_cond_make_true): Use 1 != 0.

From-SVN: r226087
parent 3f02735b
2015-07-23 Richard Biener <rguenther@suse.de>
* gimple.h (gimple_cond_make_false): Use 0 != 0.
(gimple_cond_make_true): Use 1 != 0.
2015-07-22 DJ Delorie <dj@redhat.com>
* config/msp430/t-msp430 (MULTILIB_DIRNAMES): Remove trailing
......
......@@ -3187,9 +3187,9 @@ gimple_cond_false_label (const gcond *gs)
static inline void
gimple_cond_make_false (gcond *gs)
{
gimple_cond_set_lhs (gs, boolean_true_node);
gimple_cond_set_lhs (gs, boolean_false_node);
gimple_cond_set_rhs (gs, boolean_false_node);
gs->subcode = EQ_EXPR;
gs->subcode = NE_EXPR;
}
......@@ -3199,8 +3199,8 @@ static inline void
gimple_cond_make_true (gcond *gs)
{
gimple_cond_set_lhs (gs, boolean_true_node);
gimple_cond_set_rhs (gs, boolean_true_node);
gs->subcode = EQ_EXPR;
gimple_cond_set_rhs (gs, boolean_false_node);
gs->subcode = NE_EXPR;
}
/* Check if conditional statemente GS is of the form 'if (1 == 1)',
......
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