mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
3f02735bcf
commit
bde7d04b62
|
|
@ -1,3 +1,8 @@
|
|||
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)',
|
||||
|
|
|
|||
Loading…
Reference in New Issue