https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90763
Bug ID: 90763 Summary: vec_xl_len should take constnan Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slandden at gmail dot com Target Milestone: --- This should compile (that const is preventing it): #include <altivec.h> vector char vec_load_const(const unsigned char *s, int num) { return vec_xl_len(s, num); } https://ppc.godbolt.org/z/KkV5JN