Do not produce empty try-finally statements

Jakub Jelinek
Wed Jan 29 14:12:00 GMT 2014

On Wed, Jan 29, 2014 at 03:06:45PM +0100, Michael Matz wrote:
> Hi,
> On Tue, 28 Jan 2014, Jan Hubicka wrote:
> > It is also problem of inliner quality decisions and memory use/compile 
> > time. The in-memory representation of unnecesary EH is quite big.
> > 
> > I am quite ignorant in this area, but for -O0 can't we simply disable 
> > all clobbers?
> That sounds reasonable, yeah.

Don't we need stack sharing even for -O0?  Otherwise we could end up with
too big stack frames in some cases.
Running ehcleanup1 for -O0, even if limited to just removal of clobbers,
seems better to me.


More information about the Gcc-patches mailing list