[PATCH][v2] c/100547 - reject overly large vector_size attributes
Joseph Myers
joseph@codesourcery.com
Mon May 17 22:33:42 GMT 2021
On Mon, 17 May 2021, Richard Biener wrote:
> This rejects a number of vector components that does not fit an 'int'
> which is an internal limitation of RTVEC. This requires adjusting
> gcc.dg/attr-vector_size.c which checks for much larger
> supported vectors. Note that the RTVEC limitation is a host specific
> limitation (unless we change this 'int' to int32_t), but should be
> 32bits in practice everywhere.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
>
> OK?
OK.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list