[MIPS][MSA] Fix builtins with literal integer arguments.
authorRobert Suchanek <robert.suchanek@imgtec.com>
Tue, 6 Dec 2016 13:45:34 +0000 (13:45 +0000)
committerRobert Suchanek <rts@gcc.gnu.org>
Tue, 6 Dec 2016 13:45:34 +0000 (13:45 +0000)
commitfb7b736cbbeebcd61997a83b6715c4fed29375cf
tree0e48b9dceea1e1b61b3413bbba14ee2906dc7a68
parent1011502b46e880679458a65ef87e3307076cfa57
[MIPS][MSA] Fix builtins with literal integer arguments.

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.

From-SVN: r243301
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/msa-builtins-err.c [new file with mode: 0644]