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

Robin Dapp <rdapp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|riscv*-*-*                  |x86_64-*-* riscv*-*-*

--- Comment #2 from Robin Dapp <rdapp at gcc dot gnu.org> ---
At first glance it doesn't really look like a target issue.

Tried it on x86 and it fails as well with
-O3 -march=native pr114396.c -fno-vect-cost-model -fwrapv

short a = 0xF;
short b[16];

int main() {
        for (int e = 0; e < 9; e += 1)
                b[e] = a *= 0x5;

        if (a != 2283)
                __builtin_abort ();
}

Reply via email to