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

magiblot at hotmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magiblot at hotmail dot com

--- Comment #2 from magiblot at hotmail dot com ---
According to Godbolt, from GCC 7.1 to GCC 7.5 the loop gets unrolled if the
initializer list has no more than four elements:

https://godbolt.org/z/YhKjn4qj3

So this is not only a missed optimization, but also a regression.

Reply via email to