https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111529
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to fail| |11.1.0
Known to work| |10.1.0
Last reconfirmed| |2023-09-21
Ever confirmed|0 |1
Target Milestone|--- |11.5
Summary|ICE on bool conversion in |[11/12/13/14 Regression]
|an unrolled loop condition |ICE on bool conversion in
|inside template lambda |an unrolled loop condition
|nested in another template |inside template lambda
|scope |nested in another template
| |scope
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Slightly more reduced:
```
template <int>
void f() {
[]<int>() {
#pragma GCC unroll 9
for (int i = 1; i; --i) {
}
};
}
int main() {
f<0>();
}
```