https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126282
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
The problem is not the expanded parameter pack changing the alignment but
rather the order.
That is:
static_assert(alignof(not_working<int, short>) == alignof(int));
fails but:
static_assert(alignof(not_working<int, short, int>) == alignof(int));
Works.
So Dup of bug 64236.
*** This bug has been marked as a duplicate of bug 64236 ***