https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100326
--- Comment #3 from Andrew Pinski ---
I even tried:
```
template void f(T v) {
#pragma GCC unroll v()
for (int i = 0; i < 10; i++) {
}
}
int main() {
f(0);
}
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100326
--- Comment #2 from Andrew Pinski ---
This seems to be fixed on the trunk.
I think by r14-6193-g59be79fd596ec8 .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100326
Richard Biener changed:
What|Removed |Added
Ever confirmed|0 |1
Keywords|