aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorAlexander Ivchenko <alexander.ivchenko@intel.com>2017-06-08 16:05:59 +0000
committerAlexander Ivchenko <aivchenk@gcc.gnu.org>2017-06-08 16:05:59 +0000
commit77db6c1549c8e8d831a5fa0a246415e7572678e2 (patch)
tree08fd7d41f9cc1d6a46debb03179e9ff2180346cb /gcc/testsuite
parente6026dc04cb8dd7f5f68d6ac586665cc0643d5c0 (diff)
downloadgcc-77db6c1549c8e8d831a5fa0a246415e7572678e2.zip
gcc-77db6c1549c8e8d831a5fa0a246415e7572678e2.tar.gz
gcc-77db6c1549c8e8d831a5fa0a246415e7572678e2.tar.bz2
re PR middle-end/79988 ([CHKP] ICE in tree check: accessed operand 5 of call_expr with 4 operands in ix86_expand_builtin, at config/i386/i386.c:36851)
2017-06-08 Alexander Ivchenko <alexander.ivchenko@intel.com> PR middle-end/79988 * tree-chkp.c (chkp_gimple_call_builtin_p): Remove gimple_call_builtin_p call. 017-06-08 Alexander Ivchenko <alexander.ivchenko@intel.com> PR middle-end/79988 * gcc.target/i386/mpx/pr79988.c: New test. From-SVN: r249023
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/pr79988.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e077cbb..0cefe33 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2017-06-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
+ PR middle-end/79988
+ * gcc.target/i386/mpx/pr79988.c: New test.
+
+2017-06-08 Alexander Ivchenko <alexander.ivchenko@intel.com>
+
* gcc.target/i386/mpx/hard-reg-2-lbv.c: New test.
* gcc.target/i386/mpx/hard-reg-2-nov.c: New test.
* gcc.target/i386/mpx/hard-reg-2-ubv.c: New test.
diff --git a/gcc/testsuite/gcc.target/i386/mpx/pr79988.c b/gcc/testsuite/gcc.target/i386/mpx/pr79988.c
new file mode 100644
index 0000000..a6e43eb
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/mpx/pr79988.c
@@ -0,0 +1,6 @@
+/* { dg-do compile } */
+/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
+
+void foo(unsigned char * __seg_gs *pointer_gs) {
+ pointer_gs[5] = 0;
+}