re PR target/65523 (ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds...
authorJakub Jelinek <jakub@redhat.com>
Mon, 23 Mar 2015 20:03:50 +0000 (21:03 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 23 Mar 2015 20:03:50 +0000 (21:03 +0100)
commitfc6a2c5d9a9b1338ef477e90b4b5d06b438ba82f
tree4065a00f4a4d32daf23fd885008073d594fbeea7
parent9804b0fb044f4678eaedaaa00b46cbb934a7d270
re PR target/65523 (ICE: in gimple_op, at gimple.h:2270 with -fcheck-pointer-bounds -mmpx)

PR target/65523
* tree-chkp.c (chkp_build_returned_bound): Ignore
ERF_RETURNS_ARG calls if they have fewer than needed arguments.

* gcc.target/i386/pr65523.c: New test.

From-SVN: r221606
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr65523.c [new file with mode: 0644]
gcc/tree-chkp.c