public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Jan Hubicka <hubicka@ucw.cz>
To: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>, mjambor@suse.cz
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: [Bug middle-end/111088] useless 'xor eax,eax' inserted when a value is not returned and icf
Date: Mon, 21 Aug 2023 18:27:47 +0200 [thread overview]
Message-ID: <ZOOQg2HURXp4PiPs@kam.mff.cuni.cz> (raw)
In-Reply-To: <bug-111088-4-gAd4SmILhv@http.gcc.gnu.org/bugzilla/>
> But adds a return with a value. And then the inliner inlines foo into foo2 but
> we still have the return with a value around ...
I guess ICF can special case unused return value, but why this is not
taken care of by ipa-sra?
next prev parent reply other threads:[~2023-08-21 16:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-21 10:09 [Bug c/111088] New: useless 'xor eax,eax' inserted when a value is not returned charly.poyac at gmail dot com
2023-08-21 13:59 ` [Bug middle-end/111088] useless 'xor eax,eax' inserted when a value is not returned and icf pinskia at gcc dot gnu.org
2023-08-21 16:23 ` pinskia at gcc dot gnu.org
2023-08-21 16:27 ` Jan Hubicka [this message]
2023-08-21 16:27 ` [Bug ipa/111088] " hubicka at ucw dot cz
2023-08-22 6:49 ` rguenth at gcc dot gnu.org
2023-08-23 12:29 ` jamborm at gcc dot gnu.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=ZOOQg2HURXp4PiPs@kam.mff.cuni.cz \
--to=hubicka@ucw.cz \
--cc=gcc-bugs@gcc.gnu.org \
--cc=gcc-bugzilla@gcc.gnu.org \
--cc=mjambor@suse.cz \
/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: link
Be 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).