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

--- Comment #1 from Siarhei Volkau <lis8215 at gmail dot com> ---
Minimal example for showcase the issue:

#include <stdint.h>

uint64_t mthi_example(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
{
    uint64_t ret;
    ret = (uint64_t)a * b + (uint64_t)c * d + 1u;
    return ret;
}

compile command:
  mipsel-*-gcc -O2 -mips32

Reply via email to