On Fri, Mar 10, 2017 at 07:52:37PM +0100, Bernd Schmidt wrote: > On 03/10/2017 06:53 PM, Jakub Jelinek wrote: > > + > > +template <bool base_term_p> > > +static inline rtx > > +ix86_delegitimize_address_tmpl (rtx x) > > { > > Why is this a template and not a function arg?
That was just an attempt to ensure that the compiler actually either inlines it, or doesn't share code between the two versions, so the base_term_p argument isn't checked at runtime. But, as I said, I have no problem changing that, i.e. remove the template line, s/_tmpl/_1/, add , bool base_term_p and tweak both callers. Jakub