This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ping] Re: PATCH: Disable sched1 when optimizing for size
On Sat, 2009-11-21 at 15:00 +0100, Richard Guenther wrote:
> -Os doesn't imply "make the code slower".
>
Of course it can. That's why we disable a whole raft of other
transformations with -Os: those that make things faster but bloat the
image. Scheduling is no different from that.
Of course, if an optimization is space-neutral we should enable it if
there's a performance benefit.
R.