Re: [PATCH] Fix PR54976

2012-10-19 Thread Marek Polacek
On Fri, Oct 19, 2012 at 12:26:13PM +0200, Richard Biener wrote: > + /* If we felt back to using the mode fail if there was > + no scalar type for it. */ > + if (scalar_type == NULL_TREE) > + return NULL_TREE; s/felt/fell/ ;) Marek

[PATCH] Fix PR54976

2012-10-19 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk and branch. Richard. 2012-10-19 Richard Biener PR tree-optimization/54976 * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Robustify against odd inner_mode inputs. Index: gcc/tree-vect-s