From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12705 invoked by alias); 21 May 2002 02:47:47 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 12697 invoked from network); 21 May 2002 02:47:45 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 21 May 2002 02:47:45 -0000 Received: from localhost.localdomain (frothingslosh.sfbay.redhat.com [205.180.230.59]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g4L2k7v02018; Mon, 20 May 2002 19:46:07 -0700 Received: (from rth@localhost) by localhost.localdomain (8.11.6/8.11.6) id g4L2lg019622; Mon, 20 May 2002 19:47:42 -0700 X-Authentication-Warning: localhost.localdomain: rth set sender to rth@redhat.com using -f Date: Mon, 20 May 2002 20:10:00 -0000 From: Richard Henderson To: Jan Hubicka , gcc-pdo@atrey.karlin.mff.cuni.cz, gcc-patches@gcc.gnu.org Subject: Re: Basic block renumbering removal, part 2 Message-ID: <20020520194742.A19598@redhat.com> Mail-Followup-To: Richard Henderson , Jan Hubicka , gcc-pdo@atrey.karlin.mff.cuni.cz, gcc-patches@gcc.gnu.org References: <20020515151110.GA24680@atrey.karlin.mff.cuni.cz> <20020515162535.D25141@redhat.com> <20020516062436.GA1786@atrey.karlin.mff.cuni.cz> <20020516103755.B25733@redhat.com> <20020517114811.GB16746@atrey.karlin.mff.cuni.cz> <20020519213305.GA23304@atrey.karlin.mff.cuni.cz> <20020519144219.B6030@redhat.com> <20020519220021.GA24307@atrey.karlin.mff.cuni.cz> <20020519154009.A6296@redhat.com> <20020520005955.GA30130@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020520005955.GA30130@atrey.karlin.mff.cuni.cz>; from rakdver@atrey.karlin.mff.cuni.cz on Mon, May 20, 2002 at 02:59:55AM +0200 X-SW-Source: 2002-05/txt/msg01655.txt.bz2 On Mon, May 20, 2002 at 02:59:55AM +0200, Zdenek Dvorak wrote: > * bb-reorder.c (make_reorder_chain_1): Modified. > * cfganal.c (can_fallthru, flow_call_edges_add, > flow_preorder_transversal_compute): Modified. > * cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks, > find_sub_basic_blocks): Modified. > * cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Modified. > * cfglayout.c (skip_insns_after_block, fixup_reorder_chain, > fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Modified. > * cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Modified. > * combine.c (this_basic_block): Type changed to basic_block. > (combine_instructions, set_nonzero_bits_and_sign_copies, try_combine, > nonzero_bits, num_sign_bit_copies, get_last_value_validate, > get_last_value, distribute_notes, distribute_links): Modified. > * final.c (compute_alignments): Modified. > * flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Modified. > * function.c (thread_prologue_and_epilogue_insns): Modified. > * gcse.c (compute_code_hoist_vbeinout): Modified. > * global.c (build_insn_chain): Modified. > * ifcvt.c (find_if_block, find_cond_trap): Modified. > * predict.c (last_basic_block_p, note_prediction_to_br_prob): Modified. > * regmove.c (regmove_optimize): Modified. > * resource.c (find_basic_block): Modified. > * sched-ebb.c (schedule_ebbs): Modified. > * ssa-dce.c (find_control_dependence, find_pdom): Modified. Ok except > *************** compute_code_hoist_vbeinout () > - if (bb != n_basic_blocks - 1) > + if (BASIC_BLOCK (bb)->next_bb != EXIT_BLOCK_PTR) Surely this should be bb != EXIT_BLOCK_PTR->prev_bb->index as we want to get rid of BASIC_BLOCK (N) references? r~