[Bug target/124242] Incorrect code generated when using -m32 and -Os on Mint Linux

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 25 17:54:39 GMT 2026


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
  pretmp_39 = p_1(D)->u.r;
  if (_3 != 0)
    goto <bb 3>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 3> [local count: 354334800]:
  _40 = VIEW_CONVERT_EXPR<long long int>(pretmp_39);
  _6 = sqlite3Int64ToText (_40, zBuf_5(D));

So yes it is solved by the TARGET_MODE_CAN_TRANSFER_BITS patches but to VN
rather than SRA.


More information about the Gcc-bugs mailing list