ia64.c (emit_predicate_relation_info): Fix use of NOTE_INSN_BASIC_BLOCK_P.
authorAndreas Schwab <schwab@suse.de>
Mon, 21 May 2007 11:29:35 +0000 (11:29 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Mon, 21 May 2007 11:29:35 +0000 (11:29 +0000)
* config/ia64/ia64.c (emit_predicate_relation_info): Fix use of
NOTE_INSN_BASIC_BLOCK_P.
(process_for_unwind_directive): Likewise.

From-SVN: r124899

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 731886946dcff90175f6137cad26d7d34b855a90..1943359f907cdb50ab3799337eac35770bda9175 100644 (file)
@@ -1,3 +1,9 @@
+2007-05-21  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/ia64.c (emit_predicate_relation_info): Fix use of
+       NOTE_INSN_BASIC_BLOCK_P.
+       (process_for_unwind_directive): Likewise.
+
 2007-05-21  Nathan Sidwell  <nathan@codesourcery.com>
 
        * builtins.c (expand_builtin_setjmp_setup): Update comment.
index 52179d9f5b6eea3f5ea40c9aa5db677461a5c5c5..5e1328b3bfbe57f9ffdefd1e8a9448c9b77182ca 100644 (file)
@@ -8332,7 +8332,7 @@ emit_predicate_relation_info (void)
       /* We only need such notes at code labels.  */
       if (GET_CODE (head) != CODE_LABEL)
        continue;
-      if (NOTE_INSN_BASIC_BLOCK_P (NEXT_INSN (head)) == NOTE_INSN_BASIC_BLOCK)
+      if (NOTE_INSN_BASIC_BLOCK_P (NEXT_INSN (head)))
        head = NEXT_INSN (head);
 
       /* Skip p0, which may be thought to be live due to (reg:DI p0)
@@ -8968,7 +8968,7 @@ process_for_unwind_directive (FILE *asm_out_file, rtx insn)
     {
       rtx pat;
 
-      if (NOTE_INSN_BASIC_BLOCK_P (insn) == NOTE_INSN_BASIC_BLOCK)
+      if (NOTE_INSN_BASIC_BLOCK_P (insn))
        {
          last_block = NOTE_BASIC_BLOCK (insn)->next_bb == EXIT_BLOCK_PTR;