[committed] Fix PR testsuite/89258

Message ID 20190208165335.4896fd73@jozef-kubuntu
State New
Headers show
Series
  • [committed] Fix PR testsuite/89258
Related show

Commit Message

Jozef Lawrynowicz Feb. 8, 2019, 4:53 p.m.
pr80887.c expects int size to be at least 32-bits, added the corresponding
require-effective-target directive.

Committed.

Patch

From b8a747181ed83adfb0ff5f42ba74f1bc239620d8 Mon Sep 17 00:00:00 2001
From: jozefl <jozefl@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 8 Feb 2019 16:47:28 +0000
Subject: [PATCH] 2019-02-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

	PR testsuite/89258
	* gcc.dg/tree-ssa/pr80887.c: Require int32plus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268704 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/testsuite/ChangeLog                 | 5 +++++
 gcc/testsuite/gcc.dg/tree-ssa/pr80887.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5cbb14f5486..3269078fa36 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@ 
+2019-02-08  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+	PR testsuite/89258
+	* gcc.dg/tree-ssa/pr80887.c: Require int32plus.
+
 2019-02-08  Robin Dapp  <rdapp@linux.ibm.com>
 
 	* gcc.target/s390/vector/vec-copysign-execute.c: New test.
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr80887.c b/gcc/testsuite/gcc.dg/tree-ssa/pr80887.c
index df7a9d96eeb..9021b52c20e 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr80887.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr80887.c
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-fgimple -O" } */
+/* { dg-require-effective-target int32plus } */
 
 int pos;
 void __GIMPLE (startwith("fre"))
-- 
2.17.1