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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |tree-optimization

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The unroll 2 is correct, it was unrolled one time; likewise 3 is unrolled
twice, etc. I suspect you are missunderstanding what the diagnostic is saying,
it is saying unrolled the loop one extra iteration.


Now `#pragma GCC unroll(5)` is just a misreporting of the number of iterations;
it was fully unrolled.

Reply via email to