[Bug c++/88600] GCC rejects attributes on type aliases, while clang accepts them
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 26 17:40:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88600
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Applying the attribute to V rather than T works:
template <typename T>
using V __attribute__ ((__vector_size (8))) = T;
More information about the Gcc-bugs
mailing list