https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112496

--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Richard Biener from comment #2)
>  if (TREE_CODE (init_expr) == INTEGER_CST)
>     init_expr = fold_convert (TREE_TYPE (vectype), init_expr);
>   else
>     gcc_assert (tree_nop_conversion_p (TREE_TYPE (vectype),
>                                        TREE_TYPE (init_expr)));
> 
> and init_expr is a 24 bit integer type while vectype has 32bit components.
> 
> The "fix" is to bail out instead of asserting.

Agree.

Reply via email to