From 0c84d521a9fe232a30c7fe638a4af21bc7c10c91 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Mon, 19 Jan 2015 23:25:03 +0000 Subject: [PATCH] re PR target/64652 ([SH] ICE when using -mdiv=call-fp) gcc/testsuite/ PR target/64652 * gcc.target/sh/torture/pr64652.c (test): Rename to test_0. (test_1): New. From-SVN: r219870 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/sh/torture/pr64652.c | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 13bc7ce82b7..c814b6baa2a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-01-19 Oleg Endo + + PR target/64652 + * gcc.target/sh/torture/pr64652.c (test): Rename to test_0. + (test_1): New. + 2015-01-19 Martin Liska * 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 0ecfb9c9d62..814431108ec 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; } -- 2.30.2