OSDN Git Service

* tree-cfg.c (assign_discriminator): Add explicit parentheses.
authorccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2009 23:29:23 +0000 (23:29 +0000)
committerccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2009 23:29:23 +0000 (23:29 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150068 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-cfg.c

index 13acf76..0647513 100644 (file)
@@ -1,5 +1,9 @@
 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.
        * tree-cfg.c (assign_discriminator): Check location of last
        instruction in block as well as first.
index d818b6b..49345c2 100644 (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);
 }