This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/5] Fix *_CST ICEs connected to MPX.
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Martin Liska <mliska at suse dot cz>
- Date: Tue, 7 Mar 2017 11:21:56 +0100
- Subject: Re: [PATCH 1/5] Fix *_CST ICEs connected to MPX.
- Authentication-results: sourceware.org; auth=none
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.