[Bug c++/105233] Incorrect "alignment not an integer constant" error in alignas with template parameter dependent argument
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 12 13:50:16 GMT 2022
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.
More information about the Gcc-bugs
mailing list