-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error (-std=gnu++14 ) : altivec types aliases with 'using' keyword and macros preprocessor in the same file #1861
Comments
This is intresting indeed. I also found there is some dependency on maltivec vs mvsx and ppc vs ppcle: https://godbolt.org/z/4bGsh8 |
I was able to reproduce it on AT 14:
|
@quickwritereader This looks like a general GCC bug, not limited to AT. Could you open a bug report upstream (gcc.gnu.org/bugzilla), please? Thanks! |
AFAICS, this issue is still broken on AT 14. |
I didn't find a bug report upstream for this issue, so I reported it: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101168 |
workaround 0:
-std=c++14
workaround 1:
typedef __vector double vdbl;
workaround 2:
using vdbl = __attribute__((altivec(vector__))) double;
workaround 3:
putting dummy function between
void dummy(){};
The text was updated successfully, but these errors were encountered: