This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [D] Remove unchecked to_constant in VECTOR_TYPE handling


On 11/4/19 7:40 AM, Richard Sandiford wrote:
> The SVE port now tries to register variable-length VECTOR_TYPEs
> at start-up, so it's no longer possible to use the asserting
> to_constant on the number of vector elements.  This patch punts
> on variable element counts instead, just like we do for other
> things that the frontend doesn't recognise.
> 
> The brace indentation matches the surrounding style.
> 
> Tested on aarch64-linux-gnu.  OK to install?
> 
> Richard
> 
> 
> 2019-11-04  Richard Sandiford  <richard.sandiford@arm.com>
> 
> gcc/d/
> 	* d-builtins.cc (build_frontend_type): Cope with variable
> 	TYPE_VECTOR_SUBPARTS.
OK
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]