This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/5] Fix *_CST ICEs connected to MPX.


Hello!

> 2017-03-06  Martin Liska  <mliska@suse.cz>
>
> PR target/79763
> PR target/79769
> PR target/79770
> * tree-chkp.c (chkp_find_bounds_1): Handle REAL_CST,
> COMPLEX_CST and VECTOR_CST.
>
> gcc/testsuite/ChangeLog:
>
> 2017-03-06  Martin Liska  <mliska@suse.cz>
>
> PR target/79763
> PR target/79769
> PR target/79770
> * g++.dg/pr79769.C: New test.
> * gcc.target/i386/mpx/pr79763.c: New test.
> * gcc.target/i386/mpx/pr79770.c: New test.

diff --git a/gcc/testsuite/gcc.target/i386/mpx/pr79770.c
b/gcc/testsuite/gcc.target/i386/mpx/pr79770.c
new file mode 100644
index 00000000000..ede9abbbb8a
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/mpx/pr79770.c
@@ -0,0 +1,20 @@
+/* { dg-do compile { target lp64 } } */
+/* { dg-do compile { target { ! x32 } } } */
+/* { dg-options "-fcheck-pointer-bounds -mmpx -mabi=ms -Wno-psabi" } */

You don't need to check for x32 here, lp64 check is enough.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]