https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80467
--- Comment #2 from Jeffrey Armstrong <jeffrey.armstrong at approximatrix dot com> --- I agree that the code is invalid, and it is the user's responsibility. However, I don't think an internal compiler error is appropriate in this case. An actual error would be preferable.