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: [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.




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