public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/19831] Missing DSE/malloc/free optimization Date: Wed, 07 Sep 2011 14:20:00 -0000 [thread overview] Message-ID: <bug-19831-4-uT5jXLIafa@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-19831-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19831 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | --- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-07 14:11:29 UTC --- I'll give it another try somewhen. Don't mark the free as necessary, nor its operand. If a malloc ends up not being marked as necessary and all uses of the lhs are free calls remove the pairs, otherwise do nothing in eliminate_unnecessary_stmts.
next parent reply other threads:[~2011-09-07 14:13 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-19831-4@http.gcc.gnu.org/bugzilla/> 2011-09-07 14:20 ` rguenth at gcc dot gnu.org [this message] 2011-09-07 15:05 ` rguenth at gcc dot gnu.org 2011-09-08 9:23 ` rguenth at gcc dot gnu.org 2011-09-08 13:05 ` rguenth at gcc dot gnu.org 2011-09-08 13:10 ` rguenth at gcc dot gnu.org 2012-02-22 14:18 ` xiaoyuanbo at yeah dot net 2012-04-23 6:53 ` pinskia at gcc dot gnu.org 2013-06-01 13:57 ` glisse at gcc dot gnu.org 2013-10-10 20:49 ` glisse at gcc dot gnu.org 2013-10-16 15:12 ` glisse at gcc dot gnu.org 2013-10-25 21:33 ` glisse at gcc dot gnu.org 2013-10-29 12:14 ` rguenther at suse dot de 2013-10-29 13:19 ` glisse at gcc dot gnu.org 2021-03-25 14:07 ` rguenth at gcc dot gnu.org 2021-06-21 17:50 ` koss.dallas at crm dot leadkahuna.com [not found] <bug-19831-6528@http.gcc.gnu.org/bugzilla/> 2009-06-26 15:12 ` rguenth at gcc dot gnu dot org 2009-06-26 15:23 ` rguenth at gcc dot gnu dot org 2009-06-26 15:40 ` rguenth at gcc dot gnu dot org 2009-07-01 12:27 ` rguenth at gcc dot gnu dot org 2009-07-01 12:29 ` rguenth at gcc dot gnu dot org 2005-02-09 7:20 [Bug tree-optimization/19831] New: " pinskia at gcc dot gnu dot org 2005-02-09 9:44 ` [Bug tree-optimization/19831] " dberlin at dberlin dot org 2005-02-09 12:43 ` 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=bug-19831-4-uT5jXLIafa@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).