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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
That's because appearantly (my) glibc uses inline-asm for ntohs...

  <bb 2> [local count: 1073741825]:
  _1 = ip_24(D)->Word1;
  __asm__("rorw $8, %w0" : "=r" __v_26 : "0" _1 : "cc");
  _9 = (int) __v_26;
  _10 = _9 << 16;
  _11 = ip_24(D)->Word2;
  __asm__("rorw $8, %w0" : "=r" __v_28 : "0" _11 : "cc");
  _19 = (int) __v_28;
  _20 = _10 | _19;
  _29 = (uint32_t) _20;
  return _29;

likewise for htons.  We obviously cannot do anything here.

Reply via email to