This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Odd performance regression with -Os
- From: Andrew Haley <aph at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc at gcc dot gnu dot org, Georg-Johann Lay <avr at gjlay dot de>
- Date: Mon, 22 Dec 2008 16:30:27 +0000
- Subject: Re: Odd performance regression with -Os
- References: <494FB215.30908@redhat.com> <200812221705.46044.ebotcazou@adacore.com>
Eric Botcazou wrote:
>
> I've attached the patch (against the 4.3 branch) we use locally.
>
>
> * fold-const.c (extract_muldiv): Remove obsolete comment.
> (fold_plusminus_mult_expr): Use only positive power-of-two factors.
> * expr.c (get_inner_reference): Canonicalize offset.
Thanks. Are you holding this because we're in Stage 3?
Andrew.