aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/sh/torture/pr64652.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 13bc7ce..c814b6b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
+
+ PR target/64652
+ * gcc.target/sh/torture/pr64652.c (test): Rename to test_0.
+ (test_1): New.
+
2015-01-19 Martin Liska <mliska@suse.cz>
* objc/compile/pr64668.m: New test.
diff --git a/gcc/testsuite/gcc.target/sh/torture/pr64652.c b/gcc/testsuite/gcc.target/sh/torture/pr64652.c
index 0ecfb9c..8144311 100644
--- a/gcc/testsuite/gcc.target/sh/torture/pr64652.c
+++ b/gcc/testsuite/gcc.target/sh/torture/pr64652.c
@@ -4,7 +4,13 @@
/* { dg-skip-if "" { "sh*-*-*" } { "-m5*" } { "" } } */
int
-test (int a, int b, int c, int d)
+test_0 (int a, int b, int c, int d)
+{
+ return (a / b) + c + d;
+}
+
+unsigned int
+test_1 (unsigned int a, unsigned int b, unsigned int c, unsigned int d)
{
return (a / b) + c + d;
}