aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-11-07 14:07:32 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-11-07 14:07:32 +0100
commita98152285e49156026d0b70bacfe562a6f9d3ac2 (patch)
tree057f1a24be6d40cd9eb6894d1b1f19018076c1d7 /gcc
parente8ab5cb19b6d93ed4dd1eaf6dbea66da41256926 (diff)
downloadgcc-a98152285e49156026d0b70bacfe562a6f9d3ac2.zip
gcc-a98152285e49156026d0b70bacfe562a6f9d3ac2.tar.gz
gcc-a98152285e49156026d0b70bacfe562a6f9d3ac2.tar.bz2
re PR middle-end/71529 ([CHKP] ICE in expand_expr_real_1)
PR middle-end/71529 * gcc.target/i386/pr71529.C: Moved to ... * g++.dg/opt/pr71529.C: ... here. New test. Guard for i?86/x86_64. PR target/64411 * gcc.target/i386/pr64411.C: Moved to ... * g++.dg/opt/pr64411.C: ... here. New test. Guard for i?86/x86_64 lp64. PR target/65105 * gcc.target/i386/pr65105-4.C: Moved to ... * g++.dg/opt/pr65105-4.C: ... here. New test. Guard for i?86/x86_64. Run into compile test rather than execute test. From-SVN: r241903
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog16
-rw-r--r--gcc/testsuite/g++.dg/opt/pr64411.C (renamed from gcc/testsuite/gcc.target/i386/pr64411.C)5
-rw-r--r--gcc/testsuite/g++.dg/opt/pr65105-4.C (renamed from gcc/testsuite/gcc.target/i386/pr65105-4.C)6
-rw-r--r--gcc/testsuite/g++.dg/opt/pr71529.C22
-rw-r--r--gcc/testsuite/gcc.target/i386/pr71529.C22
5 files changed, 44 insertions, 27 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 06798a9..716e6e2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,19 @@
+2016-11-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/71529
+ * gcc.target/i386/pr71529.C: Moved to ...
+ * g++.dg/opt/pr71529.C: ... here. New test. Guard for i?86/x86_64.
+
+ PR target/64411
+ * gcc.target/i386/pr64411.C: Moved to ...
+ * g++.dg/opt/pr64411.C: ... here. New test. Guard for i?86/x86_64
+ lp64.
+
+ PR target/65105
+ * gcc.target/i386/pr65105-4.C: Moved to ...
+ * g++.dg/opt/pr65105-4.C: ... here. New test. Guard for i?86/x86_64.
+ Run into compile test rather than execute test.
+
2016-11-07 Richard Biener <rguenther@suse.de>
PR target/78229
diff --git a/gcc/testsuite/gcc.target/i386/pr64411.C b/gcc/testsuite/g++.dg/opt/pr64411.C
index 55858fb..122b9ee 100644
--- a/gcc/testsuite/gcc.target/i386/pr64411.C
+++ b/gcc/testsuite/g++.dg/opt/pr64411.C
@@ -1,5 +1,6 @@
-/* { dg-do compile } */
-/* { dg-options "-Os -mcmodel=medium -fPIC -fschedule-insns -fselective-scheduling" } */
+// PR target/64411
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } }
+// { dg-options "-Os -mcmodel=medium -fPIC -fschedule-insns -fselective-scheduling" }
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/gcc.target/i386/pr65105-4.C b/gcc/testsuite/g++.dg/opt/pr65105-4.C
index 9acf368..d79ba1a 100644
--- a/gcc/testsuite/gcc.target/i386/pr65105-4.C
+++ b/gcc/testsuite/g++.dg/opt/pr65105-4.C
@@ -1,6 +1,6 @@
-/* PR target/pr65105 */
-/* { dg-do run { target { ia32 } } } */
-/* { dg-options "-O2 -march=slm" } */
+// PR target/65105
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
+// { dg-options "-O2 -march=slm" }
struct s {
long long l1, l2, l3, l4, l5;
diff --git a/gcc/testsuite/g++.dg/opt/pr71529.C b/gcc/testsuite/g++.dg/opt/pr71529.C
new file mode 100644
index 0000000..148527f
--- /dev/null
+++ b/gcc/testsuite/g++.dg/opt/pr71529.C
@@ -0,0 +1,22 @@
+// PR middle-end/71529
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } }
+// { dg-options "-fcheck-pointer-bounds -mmpx -O2" }
+
+class c1
+{
+ public:
+ virtual ~c1 ();
+};
+
+class c2
+{
+ public:
+ virtual ~c2 ();
+};
+
+class c3 : c1, c2 { };
+
+int main (int, char **)
+{
+ c3 obj;
+}
diff --git a/gcc/testsuite/gcc.target/i386/pr71529.C b/gcc/testsuite/gcc.target/i386/pr71529.C
deleted file mode 100644
index 3169101..0000000
--- a/gcc/testsuite/gcc.target/i386/pr71529.C
+++ /dev/null
@@ -1,22 +0,0 @@
-/* PR71529 */
-/* { dg-do compile { target { ! x32 } } } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */
-
-class c1
-{
- public:
- virtual ~c1 ();
-};
-
-class c2
-{
- public:
- virtual ~c2 ();
-};
-
-class c3 : c1, c2 { };
-
-int main (int, char **)
-{
- c3 obj;
-}