https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123413
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced:
```
template <class T=int>
void G() {
int x = 42;
decltype(auto) y = ({ int z = x; z; });
}
int main() {
G();
}
```
