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
This commit is contained in:
Oleg Endo 2015-01-19 23:25:03 +00:00
parent aa0c464a8a
commit 0c84d521a9
2 changed files with 13 additions and 1 deletions

View File

@ -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.

View File

@ -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;
}