[MIPS][MSA] Fix builtins with literal integer arguments

Programming / Compilers / GCC - rts [138bc75d-0d04-0410-961f-82ee72b054a4] - 6 December 2016 08:45 EST

gcc/
- config/mips/mips.c (mips_expand_builtin_insn): Check input ranges of literal integer arguments.

gcc/testsuite/

- gcc.target/mips/msa-builtins-err.c: New test.

6cb8155 [MIPS][MSA] Fix builtins with literal integer arguments.
gcc/ChangeLog | 5 +
gcc/config/mips/mips.c | 83 +++++---
gcc/testsuite/ChangeLog | 4 +
gcc/testsuite/gcc.target/mips/msa-builtins-err.c | 241 +++++++++++++++++++++++
4 files changed, 311 insertions(+), 22 deletions(-)

Upstream: gcc.gnu.org


  • Share