https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65509
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- I agree that this code should be accepted. Interestingly, the compiler accepts the code when the constexpr specifier of both i1 and i2 is removed.