fpcr_fpsr_1.c
285 Bytes
-
[AArch64] Force __builtin_aarch64_fp[sc]r argument into a REG · e6cf8d65
The 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. 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. From-SVN: r228116
Richard Sandiford committed