https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105233
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 52791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52791&action=edit gcc12-pr105233.patch Untested patch that makes alignas and aligned attribute argument manifestly constant evaluated expression.