public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Michael Matz <matz@suse.de>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Mark objects death at end of scope
Date: Thu, 03 Nov 2011 12:47:00 -0000	[thread overview]
Message-ID: <20111103113722.GY1052@tyan-ft48-01.lab.bos.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1111031125570.30317@wotan.suse.de>

On Thu, Nov 03, 2011 at 12:01:05PM +0100, Michael Matz wrote:
> > Do your artificial EH regions survive into .gcc_except_table,
> 
> It's possible.  At expansion time the clobbers expand to nothing, so those 
> regions theoretically are mergeable with outer regions, but we don't have 
> EH cleanups on RTL anymore.

That is unfortunate.  Can't EH cleanups be taught about these stmts
and optimize them as if those clobbering stmts weren't present?
I.e. similarly to the VTA first rule, don't base decisions on their
presence, and just take them into account when doing the transformation
if decided it should be done?

> That's possible I guess, but is it worth it?  A file compiled with g++ is 
> completely fine in requiring the c++ personality.  Disabling this for some 
> special cases just seems like a hack.

It is important, for several tools the size of .eh_frame section matters a
lot (e.g. when you need to pin all the .eh_frame/.eh_frame_hdr
sections into memory for kernel unwinding).

	Jakub

  reply	other threads:[~2011-11-03 11:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03  0:05 Michael Matz
2011-11-03  1:21 ` Eric Botcazou
2011-11-03  9:24   ` Richard Guenther
2011-11-03 10:26     ` Eric Botcazou
2011-11-03 12:52       ` Richard Guenther
2011-11-03 13:42         ` Michael Matz
2011-11-03 14:33           ` Eric Botcazou
2011-11-03 14:46             ` Michael Matz
2011-11-03 14:55               ` Eric Botcazou
2011-11-03 14:23       ` Build gcc/ with -fno-exceptions -fno-rtti Michael Matz
2011-11-03 14:26         ` Paolo Bonzini
2011-11-03 14:31           ` Richard Guenther
2011-11-03 15:08             ` Eric Botcazou
2011-11-03 17:46               ` Michael Matz
2011-11-03  9:59 ` Mark objects death at end of scope Richard Guenther
2011-11-03 11:07   ` Michael Matz
2011-11-07 16:05   ` Michael Matz
2011-11-07 22:10     ` Richard Guenther
2011-11-10 23:57     ` Steve Ellcey
2011-11-11 15:32       ` Michael Matz
2011-11-11 16:20     ` Mark objects death@end " Ulrich Weigand
2011-11-11 17:22       ` Michael Matz
2011-11-11 17:45         ` Ulrich Weigand
2011-11-11 17:45           ` Michael Matz
2011-11-03 10:57 ` Mark objects death at end " Jakub Jelinek
2011-11-03 11:57   ` Michael Matz
2011-11-03 12:47     ` Jakub Jelinek [this message]
2011-11-03 13:14       ` Michael Matz
2011-11-04 12:28         ` Jakub Jelinek
2011-11-04 12:45           ` Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111103113722.GY1052@tyan-ft48-01.lab.bos.redhat.com \
    --to=jakub@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=matz@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).