https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105781
Hongtao.liu <crazylht at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |crazylht at gmail dot com
--- Comment #4 from Hongtao.liu <crazylht at gmail dot com> ---
Just note we can also use *#pragma GCC unroll n* to specify the unrolling
factor.
#pragma GCC unroll 4
void double_elements(int* f, int* l, int v) {
while (f != l) {
*f = *f + *f;
++f;
}
}
