public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack
[not found] <bug-70782-4@http.gcc.gnu.org/bugzilla/>
@ 2021-07-26 23:34 ` pinskia at gcc dot gnu.org
2021-12-07 0:14 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-26 23:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70782
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-07-26
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Note the non-union case started to work with GCC 11.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack
[not found] <bug-70782-4@http.gcc.gnu.org/bugzilla/>
2021-07-26 23:34 ` [Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack pinskia at gcc dot gnu.org
@ 2021-12-07 0:14 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-07 0:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70782
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For the memset/memcpy version, I wonder if we should convert:
MEM[(char * {ref-all})&v] = _10;
...
MEM <unsigned int> [(char * {ref-all})&v] = _8;
Into using BIT_FIELD_REF.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-07 0:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-70782-4@http.gcc.gnu.org/bugzilla/>
2021-07-26 23:34 ` [Bug rtl-optimization/70782] zero-initialized long returned by value generates useless stores/loads to the stack pinskia at gcc dot gnu.org
2021-12-07 0:14 ` 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).