public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: Jan Hubicka <hubicka@ucw.cz> To: walters at verbum dot org <gcc-bugzilla@gcc.gnu.org> Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug middle-end/32911] Function __attribute__ ((idempotent)) Date: Tue, 15 May 2012 15:57:00 -0000 [thread overview] Message-ID: <20120515155701.GD12754@atrey.karlin.mff.cuni.cz> (raw) In-Reply-To: <bug-32911-4-58sZP8GXgJ@http.gcc.gnu.org/bugzilla/> Note that I was thinking of similar attribute for C++ iostream initialization code. Currently every unit including iostream gets a call to the iostream constructor. With LTO we merge the constructors together and get _alot_ of redundant calls to the construction code. Declaring that only first call is needed would save some (quite minor) startup overehead. (overhead of iostream startup is large, but after inlning all together it boils down to cca 7000 redundant calls in Mozilla startup that executes quite quickly)
next prev parent reply other threads:[~2012-05-15 15:57 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-32911-4@http.gcc.gnu.org/bugzilla/> 2012-05-15 15:57 ` walters at verbum dot org 2012-05-15 15:57 ` Jan Hubicka [this message] 2012-05-15 16:00 ` hubicka at ucw dot cz 2012-05-15 16:18 ` hubicka at gcc dot gnu.org 2020-08-06 13:05 ` matthew at wil dot cx 2021-09-04 10:27 ` trass3r at gmail dot com 2024-06-01 4:09 ` egallager at gcc dot gnu.org 2007-07-27 6:33 [Bug c/32911] New: " gnu at behdad dot org 2007-07-27 9:35 ` [Bug middle-end/32911] " pinskia at gcc dot gnu dot org
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=20120515155701.GD12754@atrey.karlin.mff.cuni.cz \ --to=hubicka@ucw.cz \ --cc=gcc-bugs@gcc.gnu.org \ --cc=gcc-bugzilla@gcc.gnu.org \ /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: linkBe 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).