* tree-cfg.c (assign_discriminator): Add explicit parentheses.

From-SVN: r150068
This commit is contained in:
Cary Coutant 2009-07-24 23:29:23 +00:00 committed by Cary Coutant
parent b524249cbe
commit 2a2869d6c5
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-07-24 Cary Coutant <ccoutant@google.com>
* tree-cfg.c (assign_discriminator): Add explicit parentheses.
2009-07-24 Cary Coutant <ccoutant@google.com>
* cfghooks.c (split_block): Copy discriminator to new block.

View File

@ -763,8 +763,8 @@ assign_discriminator (location_t locus, basic_block bb)
first_in_to_bb = first_non_label_stmt (bb);
last_in_to_bb = last_stmt (bb);
if (first_in_to_bb && same_line_p (locus, gimple_location (first_in_to_bb))
|| last_in_to_bb && same_line_p (locus, gimple_location (last_in_to_bb)))
if ((first_in_to_bb && same_line_p (locus, gimple_location (first_in_to_bb)))
|| (last_in_to_bb && same_line_p (locus, gimple_location (last_in_to_bb))))
bb->discriminator = next_discriminator_for_locus (locus);
}