]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/sibcall.c
basic-block.h (BLOCK_HEAD, BLOCK_END): Remove.
[thirdparty/gcc.git] / gcc / sibcall.c
index ec85cb2378671329cb727064789700432a9f23bc..81509ee9b56e4eea530fbc5d08302b77ba9aa94c 100644 (file)
@@ -597,7 +597,7 @@ optimize_sibling_and_tail_recursive_calls (void)
 
       /* Walk forwards through the last normal block and see if it
         does nothing except fall into the exit block.  */
-      for (insn = EXIT_BLOCK_PTR->prev_bb->head;
+      for (insn = BB_HEAD (EXIT_BLOCK_PTR->prev_bb);
           insn;
           insn = NEXT_INSN (insn))
        {
@@ -685,7 +685,7 @@ optimize_sibling_and_tail_recursive_calls (void)
                  && call_block->succ->dest != alternate_exit)
              /* If this call doesn't end the block, there are operations at
                 the end of the block which we must execute after returning.  */
-             || ! call_ends_block_p (insn, call_block->end))
+             || ! call_ends_block_p (insn, BB_END (call_block)))
            sibcall = 0, tailrecursion = 0;
 
          /* Select a set of insns to implement the call and emit them.