aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2007-05-21 11:29:35 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2007-05-21 11:29:35 +0000
commit740aeb384d7e15ac53e40559852903a160b4541d (patch)
treebc1f3f77055dc57b8759d89b6f7023a9dcd9f9fc
parentecaebb9e0bbe36023856d2459c6acd1f14e7ae8c (diff)
downloadgcc-740aeb384d7e15ac53e40559852903a160b4541d.zip
gcc-740aeb384d7e15ac53e40559852903a160b4541d.tar.gz
gcc-740aeb384d7e15ac53e40559852903a160b4541d.tar.bz2
ia64.c (emit_predicate_relation_info): Fix use of NOTE_INSN_BASIC_BLOCK_P.
* config/ia64/ia64.c (emit_predicate_relation_info): Fix use of NOTE_INSN_BASIC_BLOCK_P. (process_for_unwind_directive): Likewise. From-SVN: r124899
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/ia64/ia64.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7318869..1943359 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index 52179d9..5e1328b 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -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;