public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/25553] Missed removal of load Date: Mon, 07 Apr 2008 01:45:00 -0000 [thread overview] Message-ID: <20080407014419.12153.qmail@sourceware.org> (raw) In-Reply-To: <bug-25553-6528@http.gcc.gnu.org/bugzilla/> ------- Comment #8 from pinskia at gcc dot gnu dot org 2008-04-07 01:44 ------- This turns out to be PRE for global decl issue as the following is done correctly (at least on the trunk): int g(int); int f(int tt, int *t) { if (tt) *t = 2; else *t = 3; return g(*t); } --- CUT --- f (tt, t) { int prephitmp.9; int D.1182; <bb 2>: if (tt != 0) goto <bb 3>; else goto <bb 4>; <bb 3>: *t = 2; prephitmp.9 = 2; goto <bb 5>; <bb 4>: *t = 3; prephitmp.9 = 3; <bb 5>: D.1182 = g (prephitmp.9) [tail call]; return D.1182; } *** This bug has been marked as a duplicate of 23455 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25553
prev parent reply other threads:[~2008-04-07 1:45 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-12-24 1:46 [Bug tree-optimization/25553] New: " pinskia at gcc dot gnu dot org 2005-12-24 1:52 ` [Bug tree-optimization/25553] " pinskia at gcc dot gnu dot org 2006-01-28 4:06 ` pinskia at gcc dot gnu dot org 2006-02-06 16:19 ` pinskia at gcc dot gnu dot org 2007-04-03 19:01 ` pinskia at gcc dot gnu dot org 2007-04-03 19:40 ` rguenth at gcc dot gnu dot org 2007-07-01 1:18 ` pinskia at gcc dot gnu dot org 2008-02-23 5:40 ` pinskia at gcc dot gnu dot org 2008-04-07 1:45 ` pinskia at gcc dot gnu dot org [this message]
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=20080407014419.12153.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).