[Bug tree-optimization/105751] std::array comparision does not inline memcmp

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 22 21:58:27 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105751

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu.org

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm:

  _5 = a_2(D) + 8;
  _6 = &MEM[(const struct array *)a_2(D)]._M_elems;
  _8 = _5 - _6;

I think there is another bug for this similar thing.


More information about the Gcc-bugs mailing list