https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92365
--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- Created attachment 47180 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47180&action=edit possible fix This seems to fix the issue, although a fix in cxx_eval_constant_expression might be preferrable.