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

--- Comment #1 from Jireh Guo <jirehguo at tju dot edu.cn> ---
Here is another reduced code cause same ice.
Compiler Explorer: https://godbolt.org/z/na79vKnx1
Code:
```
struct out {
  out& operator<<(int);
};

extern out o;
struct foo {
  int x;

  constexpr foo();

  constexpr foo(int a) : foo{} {
    int arr[a] = {a};
    o << arr[a];
  }
};

constexpr foo bar{1};
```

Reply via email to