https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89968
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- One problem is the order of the attributes applying here. vector_size applies after all the others as that is the order in the program.