https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125920
--- Comment #6 from gustavo <gustavo at ugr dot es> ---
(In reply to Richard Biener from comment #4)
> -fwhole-program should be enough to trigger the issue. Note the testcase is
> just exposing
>
> asm volatile("" ::"m"(total) : "memory");
>
> adding a
>
>
> if (total == 0)
> __builtin_abort ();
>
> aborts all the time, even with -O -fwhole-program but not with -O0.
with -O0 the error vanish...
