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

--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Arseny Solokha from comment #2)
> It also can be reproduced for x86_64 when compiling the following testcase,
> reduced from gcc/testsuite/gcc.target/i386/pr103144-mul-2.c, w/
> -march=silvermont -O2 -fvect-cost-model=dynamic:
> 
> void
> foo_mul_peel (int *a, int b)
> {
>   int i;
> 
>   for (i = 0; i < 7; ++i)
>     {
>       b *= 2;
>       a[i] = b;
>     }
> }

Thanks for the testcase.
I can confirm it's the same issue in #c3

Reply via email to