https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95867
--- Comment #1 from Gabriel Ravier <gabravier at gmail dot com> --- PS : Of course this can be optimized in the general case, I was only giving an example here, I wouldn't want only the pattern of 653 successive multiplications to be optimized