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 middle-end/27896] lower-gimple produces extra goto for once return functions Date: Tue, 20 Feb 2024 11:59:25 +0000 [thread overview] Message-ID: <bug-27896-4-7Y1Fy5xjwN@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-27896-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27896 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- This is now producing int foo () { int D.2772; D.2772 = 1; return D.2772; } the temporary is produced by return gimplification (RETURN_EXPR have an embedded MODIFY_EXPR). I'll call the original issue fixed, the temporary is a design decision.
next prev parent reply other threads:[~2024-02-20 11:59 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-27896-4@http.gcc.gnu.org/bugzilla/> 2021-12-23 5:28 ` pinskia at gcc dot gnu.org 2024-02-20 11:59 ` rguenth at gcc dot gnu.org [this message] 2006-06-05 7:10 [Bug tree-optimization/27896] New: inefficient lowering for return dann at godzilla dot ics dot uci dot edu 2010-02-24 16:34 ` [Bug middle-end/27896] lower-gimple produces extra goto for once return functions steven 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-27896-4-7Y1Fy5xjwN@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).