public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "matt at use dot net" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/42371] dead code not eliminated during folding with whole-program Date: Thu, 17 Jan 2013 18:29:00 -0000 [thread overview] Message-ID: <bug-42371-4-F5zgXyBXmQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-42371-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42371 --- Comment #13 from Matt Hargett <matt at use dot net> 2013-01-17 18:28:18 UTC --- No. 4.6 doesn't devirt (at -O2 or -O3) and therefore the DCE isn't relevant. At both -O2 and -O3, with and without -fwhole-program, both with and without adjustin declarations one()/two() to one(void)/two(void): 4.7 and google/4.7 both devirt correctly but the DCE on the function bodies doesn't happen. 4.8 also devirts correctly, but the DCE on the function bodies doesn't happen.
next prev parent reply other threads:[~2013-01-17 18:29 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-42371-4@http.gcc.gnu.org/bugzilla/> 2010-11-17 22:11 ` matt at use dot net 2010-11-17 23:14 ` hubicka at ucw dot cz 2011-01-12 0:46 ` matt at use dot net 2011-01-12 10:45 ` hubicka at gcc dot gnu.org 2011-03-16 22:32 ` matt at use dot net 2011-04-12 18:29 ` matt at use dot net 2013-01-17 0:09 ` matt at use dot net 2013-01-17 10:27 ` Jan Hubicka 2013-01-17 10:27 ` hubicka at ucw dot cz 2013-01-17 18:29 ` matt at use dot net [this message] 2013-01-18 10:25 ` rguenth at gcc dot gnu.org 2013-01-19 21:48 ` hubicka at ucw dot cz 2013-04-17 15:58 ` jamborm at gcc dot gnu.org 2013-05-13 10:21 ` jamborm at gcc dot gnu.org 2009-12-14 20:23 [Bug middle-end/42371] New: " matt at use dot net 2009-12-15 13:38 ` [Bug middle-end/42371] " rguenth at gcc dot gnu dot org 2010-01-22 19:10 ` hubicka at gcc dot gnu dot org 2010-01-22 19:11 ` hubicka at gcc dot gnu dot org 2010-06-07 19:47 ` matt at use dot net
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=bug-42371-4-F5zgXyBXmQ@http.gcc.gnu.org/bugzilla/ \ --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).