From f780cc25eaffc78f268a94471da728ac7945751f Mon Sep 17 00:00:00 2001 From: tneumann Date: Tue, 5 Jun 2007 15:41:04 +0000 Subject: =?UTF-8?q?=09*=20cfg.c=20(init=5Fflow):=20Use=20type=20safe=20mem?= =?UTF-8?q?ory=20macros.=20=09(alloc=5Fblock):=20Likewise.=20=09(unchecked?= =?UTF-8?q?=5Fmake=5Fedge):=20Likewise.=20=09(dump=5Fflow=5Finfo):=20Avoid?= =?UTF-8?q?=20using=20C++=20keywords=20as=20variable=20names.=20=09(copy?= =?UTF-8?q?=5Foriginal=5Ftable=5Fclear):=20Cast=20according=20to=20the=20c?= =?UTF-8?q?oding=20conventions.=20=09(copy=5Foriginal=5Ftable=5Fset):=20Li?= =?UTF-8?q?kewise.=20=09*=20cfgexpand=20(label=5Frtx=5Ffor=5Fbb):=20Likewi?= =?UTF-8?q?se.=20=09(expand=5Fgim=C3=BCle=5Fbasic=5Fblock):=20Likewise.=20?= =?UTF-8?q?=09*=20cfghooks.c=20(dump=5Fbb):=20Likewise.=20=09(lv=5Fadjust?= =?UTF-8?q?=5Floop=5Fheader=5Fphi):=20Avoid=20using=20C++=20keywords=20as?= =?UTF-8?q?=20variable=20names.=20=09(lv=5Fadd=5Fcondition=5Fto=5Fbb):=20L?= =?UTF-8?q?ikewise.=20=09*=20cfglayout=20(relink=5Fblock=5Fchain):=20Cast?= =?UTF-8?q?=20according=20to=20the=20coding=20=09conventions.=20=09(fixup?= =?UTF-8?q?=5Freorder=5Fchain):=20Likewise.=20=09(fixup=5Ffallthru=5Fexit?= =?UTF-8?q?=5Fpredecessor):=20Likewise.=20=09*=20cfgloop.c=20(glb=5Fenum?= =?UTF-8?q?=5Fp):=20Likewise.=20=09(get=5Fexit=5Fdescription):=20Likewise.?= =?UTF-8?q?=20=09(dump=5Frecorded=5Fexit):=20Likewise.=20=09*=20cfgloop.h?= =?UTF-8?q?=20(enum=20loop=5Festimation):=20Move=20out=20of=20struct=20sco?= =?UTF-8?q?pe...=20=09(struct=20loop):=20...=20from=20here.=20=09*=20cfglo?= =?UTF-8?q?opmanip=20(rpe=5Fenum=5Fp):=20Cast=20according=20to=20the=20cod?= =?UTF-8?q?ing=20conventions.=20=09*=20cfgrtl.c=20(rtl=5Fcreate=5Fbasic=5F?= =?UTF-8?q?block):=20Likewise.=20=09(rtl=5Fsplit=5Fblock):=20Likewise.=20?= =?UTF-8?q?=09(rtl=5Fdump=5Fbb):=20Likewise.=20=09(cfg=5Flayout=5Fsplit=5F?= =?UTF-8?q?block):=20Likewise.=20=09(init=5Frtl=5Fbb=5Finfo):=20Use=20type?= =?UTF-8?q?safe=20memory=20macros.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * graphds.h (struct graph_edge): Renamed edge to graph_edge. * graphds.h: Updated all usages of edge to graph_edge. * graphds.c: Likewise. * cfgloopanal.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125336 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cfglayout.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/cfglayout.c') diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 38e3d7b1e18..3c3654d0459 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -627,7 +627,7 @@ relink_block_chain (bool stay_in_cfglayout_mode) fprintf (dump_file, "Reordered sequence:\n"); for (bb = ENTRY_BLOCK_PTR->next_bb, index = NUM_FIXED_BLOCKS; bb; - bb = bb->aux, index++) + bb = (basic_block) bb->aux, index++) { fprintf (dump_file, " %i ", index); if (get_bb_original (bb)) @@ -645,7 +645,7 @@ relink_block_chain (bool stay_in_cfglayout_mode) /* Now reorder the blocks. */ prev_bb = ENTRY_BLOCK_PTR; bb = ENTRY_BLOCK_PTR->next_bb; - for (; bb; prev_bb = bb, bb = bb->aux) + for (; bb; prev_bb = bb, bb = (basic_block) bb->aux) { bb->prev_bb = prev_bb; prev_bb->next_bb = bb; @@ -693,7 +693,7 @@ fixup_reorder_chain (void) /* First do the bulk reordering -- rechain the blocks without regard to the needed changes to jumps and labels. */ - for (bb = ENTRY_BLOCK_PTR->next_bb; bb; bb = bb->aux) + for (bb = ENTRY_BLOCK_PTR->next_bb; bb; bb = (basic_block) bb->aux) { if (bb->il.rtl->header) { @@ -736,7 +736,7 @@ fixup_reorder_chain (void) /* Now add jumps and labels as needed to match the blocks new outgoing edges. */ - for (bb = ENTRY_BLOCK_PTR->next_bb; bb ; bb = bb->aux) + for (bb = ENTRY_BLOCK_PTR->next_bb; bb ; bb = (basic_block) bb->aux) { edge e_fall, e_taken, e; rtx bb_end_insn; @@ -951,11 +951,11 @@ fixup_fallthru_exit_predecessor (void) } while (c->aux != bb) - c = c->aux; + c = (basic_block) c->aux; c->aux = bb->aux; while (c->aux) - c = c->aux; + c = (basic_block) c->aux; c->aux = bb; bb->aux = NULL; -- cgit v1.2.1