On Tuesday 09 December 2003 07:52, law@redhat.com wrote: > In message <200312090749.12424.steven@gcc.gnu.org>, Steven Bosscher writes: > >On Tuesday 09 December 2003 05:05, law@redhat.com wrote: > >> I would _strongly_ recommend this go into the mainline first > > > >Of course. Where did I say [tree-ssa] in the subject line? > > > >I take it you do not dislike the idea of putting this kind of patch on > >mainline in this stage? > > For mainline, I'm more than happy to leave it up to Mark :-) I've got no > strong opinions there. Here is the full patch for mainline, bootstrapped (c,c++,objc,f77) and checked on i686-pc-linux-gnu. Very mechanical, in all. I renamed the head and end field to make sure no-one uses it again and gets away with it unpunished... OK for mainline? Once it's there I'll do the same for tree-ssa. * basic-block.h (BLOCK_HEAD, BLOCK_END): Remove. (BLOCK_HEAD_TREE, BLOCK_END_TREE): Remove. (basic_block_def): Rename `head' to `head_' and `end' to `end_'. (BB_HEAD, BB_END): New accessor macros for the `head_' and `end_' fields of a basic block. * bb-reorder.c, bt-load.c, caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgloopanal.c, cfgloopmanip.c, cfgrtl.c, combine.c, conflict.c, df.c, emit-rtl.c, final.c, flow.c, function.c, gcse.c, global.c, graph.c, haifa-sched.c, ifcvt.c, lcm.c, local-alloc.c, loop-unswitch.c, loop.c, postreload.c, predict.c, profile.c, ra-build.c, ra-debug.c, ra-rewrite.c, ra.c, recog.c, reg-stack.c, regclass.c, regmove.c, regrename.c, reload1.c, resource.c, sched-ebb.c, sched-rgn.c, sibcall.c, tracer.c, config/frv/frv.c, config/i386/i386.c, config/ia64/ia64.c: Use the BB_HEAD and BB_END macros instead of accessing the `head' and `end' fields of a basic block directly.