[Bug c++/88600] GCC rejects attributes on type aliases, while clang accepts them
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Wed Dec 26 18:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88600
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> ---
> Applying the attribute to V rather than T works:
>
> template <typename T>
> using V __attribute__ ((__vector_size (8))) = T;
Very cool, I did managed to work that out. Should it work the clang way
too?
More information about the Gcc-bugs
mailing list