This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc-3_4-basic-improvements-branch] cfgloop.c: Remove unused functions.


> 
> On Tuesday, September 17, 2002, at 01:21  PM, Diego Novillo wrote:
> 
> >On Tue, 2002-09-17 at 13:07, Kazu Hirata wrote:
> >
> >>2002-09-17  Kazu Hirata  <kazu@cs.umass.edu>
> >>
> >>	* cfgloop.c (add_bb_to_loop): Remove.
> >>	(remove_bb_from_loops): Likewise.
> >>	(find_common_loop): Likewise.
> >>	(loop_preheader_edge): Likewise.
> >>	* basic-block.h: Remove corresponding prototypes.
> >>
> >Why are these being removed?  We may start using them on the tree-ssa
> >branch sometime soon.
> I'm with Diego.
> 
> Please also check if they are used on the cfg-branch, in the new loop 
> optimizer (*-new.c). If so, it means they are needed anyway.

All of these are used by new loop optimizer code, so I would really
preffer them to be kept.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]