[Bug c++/93750] New: Altivec and std=c++11
junghans at votca dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 14 23:33:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93750
Bug ID: 93750
Summary: Altivec and std=c++11
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: junghans at votca dot org
Target Milestone: ---
If I have a code like:
#include<altivec.h>
int main(){vector double x,y=vec_splats(1.0);x=vec_madd(y,y,y);return
vec_all_ge(y,x);}
It compiled gcc-9 (g++ -std=c++11 code.c), but fails with gcc-10 (without
"-std=c++11" gcc-10 will compile the code fine as well).
What is wrong here?
More information about the Gcc-bugs
mailing list