[Bug tree-optimization/122533] x86 with -O2 --- uses mov+and instead of test, moves register back and forth, might omit memcpy()
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 06:56:45 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122533
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |tree-optimization
Blocks| |121364
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There are also other bug reports about the removal of the memcpy (see PR 121364
for a list of some of them).
as for this:
>Observe that the first two instructions at L3 could be combined into a single test instruction.
That is due to uncprop pass which does the wrong thing here. Let me file that
seperately.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121364
[Bug 121364] [meta-bug] copy prop for aggregates
More information about the Gcc-bugs
mailing list