[Bug tree-optimization/116034] [12/13/14/15 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 22 18:31:37 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-07-22
Target Milestone|--- |12.5
Summary|wrong code with memcpy() |[12/13/14/15 Regression]
|from _Complex unsigned |wrong code with memcpy()
|short at |from _Complex unsigned
|-fno-strict-aliasing -O1 |short at
|and above |-fno-strict-aliasing -O1
| |and above
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Looks like the code that folds MEM[(charD.10 * {ref-all})&cD.2326 + 1B] into
REAL/IMAG is going wrong and should not have folded it into that. I have not
looked into why though.
More information about the Gcc-bugs
mailing list