This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFH] - Less than optimal code compiling 252.eon -O2 for x86
On Thu, 2005-06-30 at 18:55 +0200, Steven Bosscher wrote:
> On Thursday 30 June 2005 18:05, fjahanian wrote:
> > On Jun 27, 2005, at 2:50 PM, Fariborz Jahanian wrote:
> > > On Jun 27, 2005, at 12:56 PM, Richard Henderson wrote:
> > >> Hmm. I would suspect this is obsolete now. We'll have forced
> > >> everything into "registers" (or something equivalent that we
> > >> can work with) during tree optimization. Any CSEs that can be
> > >> made should have been made.
>
> (...)
>
> > 2005-06-30 Fariborz Jahanian <fjahanian@apple.com>
> >
> > * opts.c (decode_options): Don't set -fforce-mem with -O2 and more.
>
> If the code is obsolete as rth suggested, wouldn't it be even better to
> remover all traces of it, i.e. clean up all places where flag_force_mem
> is checked?
I'd tend to agree. I'd rather see the option go away than linger on
if the option is no longer useful.
Jeff