public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/44612] -flto -fwhole-program: Never read variable not optimized away
[not found] <bug-44612-4@http.gcc.gnu.org/bugzilla/>
@ 2020-08-31 9:31 ` burnus at gcc dot gnu.org
2021-12-22 10:21 ` [Bug ipa/44612] " pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2020-08-31 9:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44612
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> ---
For what it is worth, still occurs with on mainline (GCC 11).
(In reply to Richard Biener from comment #6)
> Confirmed.
>
> DSE doesn't remove memset or memcpy calls.
>
> We also do not have a flag to mark functions only clobbering local or
> incoming memory (thus effectively not have side-effects if the argument
> reachable memory is unused after a call).
(In reply to Jakub Jelinek from comment #7)
> Well, RTL DSE to some extent knows about memset.
> And, for tree DSE handling it would be much easier and desirable.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug ipa/44612] -flto -fwhole-program: Never read variable not optimized away
[not found] <bug-44612-4@http.gcc.gnu.org/bugzilla/>
2020-08-31 9:31 ` [Bug middle-end/44612] -flto -fwhole-program: Never read variable not optimized away burnus at gcc dot gnu.org
@ 2021-12-22 10:21 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-22 10:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44612
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
CC| |marxin at gcc dot gnu.org
Component|middle-end |ipa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-22 10:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-44612-4@http.gcc.gnu.org/bugzilla/>
2020-08-31 9:31 ` [Bug middle-end/44612] -flto -fwhole-program: Never read variable not optimized away burnus at gcc dot gnu.org
2021-12-22 10:21 ` [Bug ipa/44612] " pinskia at gcc dot gnu.org
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).