From: Oleg Endo Date: Mon, 19 Jan 2015 23:25:03 +0000 (+0000) Subject: re PR target/64652 ([SH] ICE when using -mdiv=call-fp) X-Git-Tag: releases/gcc-5.1.0~1558 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c84d521a9fe232a30c7fe638a4af21bc7c10c91;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 13bc7ce82b7a..c814b6baa2a9 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 0ecfb9c9d622..814431108ec4 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; }