https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40589
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |4.9.1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed for GCC 5 by r5-1564 and backported to GCC 4.9.1. The code now looks like: /* For very wide vectors, try using a smaller vector mode. */ tree compute_type = type; if (op && (!VECTOR_MODE_P (TYPE_MODE (type)) || optab_handler (op, TYPE_MODE (type)) == CODE_FOR_nothing)) { Which solved this exact issue: N=4 V2HI N=8 DImode N=16 TImode N=32 BLKmode N=64 BLKmode