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: [PATCH] More cleanup: inline preserve_subexpressions_p into its callers


> 
> bonzini@gnu.org said:
> > 2004-08-13  Paolo Bonzini  <bonzini@gnu.org>
> > 	* calls.c (precompute_register_parameters):
> > 	Inline preserve_subexpressions_p ().
> > 	* expmed.c (expand_mult_const, emit_store_flag): Likewise.
> > 	* optabs.c (expand_binop, expand_twoval_binop, prepare_cmp_insn):
> > 	Likewise.
> > 	* expr.c (get_subtarget): Likewise.
> > 	* rtl.h (preserve_subexpressions_p): Remove.
> > 	* stmt.c (preserve_subexpressions_p): Remove. 
> 
> Breaks the build on ARM.
> 
> Next time you delete a non-static function from the core of the compiler 
> you need to remember to check *all* the back ends, not just the one you 
> normally test on.
> 

I'll fix the arm port, but note that c4x also uses 
preserve_subexpressions_p.

R.




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