https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105233
--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > Created attachment 52791 [details] > gcc12-pr105233.patch > > Untested patch that makes alignas and aligned attribute argument manifestly > constant evaluated expression. Makes sense to me FWIW