On Mon, Sep 14, 2015 at 06:49:15PM +0100, Richard Sandiford wrote:
> The attached testcase triggered an ICE because the builtin expansion
> code passed the output of expand_normal directly to the SET_FP[SC]R
> generator, without forcing it into a register first.
> 
> Tested on aarch64-linux-gnu.  OK to install?

OK.

Thanks,
James

> gcc/
>       * config/aarch64/aarch64-builtins.c (aarch64_expand_builtin): Force
>       __builtin_aarch64_fp[sc]r arguments into a register.
> 
> gcc/testsuite/
>       * gcc.target/aarch64/fpcr_fpsr_1.c: New file.
> 

Reply via email to