[Bug middle-end/94206] Wrong optimization: memset of n-bit integer types (from bit-fields) is truncated to n bits (instead of sizeof)
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 08:12:02 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94206
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2020-03-18
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Known to fail| |4.8.5
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Broken since long via memset folding:
__MEM <uint33> ((void *)&x) = _Literal (uint33) 8589934591;
More information about the Gcc-bugs
mailing list