public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ramana at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/42494] [4.4 Regression] Missed dead-code-elimination: GCC 4.2.1 generates better code than 4.4.0 Date: Tue, 29 Dec 2009 12:45:00 -0000 [thread overview] Message-ID: <20091229124456.16480.qmail@sourceware.org> (raw) In-Reply-To: <bug-42494-17572@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from ramana at gcc dot gnu dot org 2009-12-29 12:44 ------- Steven, (In reply to comment #2) > The "if (outcnt == 1) func ();" bit is optimized for me with gcc-4.4.2 on > x86_64 at -O1 and -O2, but not at -Os. I was a bit too hasty to call this alias > related, it seems. Yes it seems to go away at O1 and O2. I didn't see any comment from you earlier so not sure what you are referring to here. > The O2 and Os tree dumps start to diverge in the dom1 dump, > where we have just one call to func after dom1 at -O2 and still two calls at > -O2. > FWIW I saw this removed by dom2 in trunk at -Os. In any case I think the component ought to be tree-optimization and changed. Cheers Ramana -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |tree-optimization http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42494
next prev parent reply other threads:[~2009-12-29 12:45 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-25 5:42 [Bug c/42494] New: Regression on " sliao at google dot com 2009-12-29 10:35 ` [Bug c/42494] [4.4 only] " ramana at gcc dot gnu dot org 2009-12-29 11:31 ` [Bug c/42494] [4.4 Regression] Missed " steven at gcc dot gnu dot org 2009-12-29 12:45 ` ramana at gcc dot gnu dot org [this message] 2009-12-30 23:21 ` [Bug tree-optimization/42494] [4.4 Regression] Missed dead-code-elimination rguenth at gcc dot gnu dot org 2009-12-30 23:34 ` rguenth at gcc dot gnu dot org 2009-12-31 15:36 ` rguenth at gcc dot gnu dot org 2010-01-07 9:19 ` sliao at google dot com 2010-01-07 9:49 ` steven at gcc dot gnu dot org 2010-01-07 21:30 ` steven at gcc dot gnu dot org 2010-01-07 21:36 ` steven at gcc dot gnu dot org 2010-01-07 22:08 ` steven at gcc dot gnu dot org 2010-01-07 22:08 ` steven at gcc dot gnu dot org 2010-01-21 13:19 ` jakub at gcc dot gnu dot org 2010-02-08 16:45 ` steven at gcc dot gnu dot org 2010-04-30 8:58 ` jakub 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=20091229124456.16480.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).