re PR middle-end/60102 (powerpc fp-bit ices at dwf_regno)

[gcc/testsuite]
2014-08-04  Rohit  <rohitarulraj@freescale.com>

	PR target/60102
	* gcc.target/powerpc/pr60102.c: New testcase.

From-SVN: r213598
This commit is contained in:
Rohit Arul Raj 2014-08-04 16:55:07 +00:00 committed by Edmar Wienskoski
parent 23742a9e1b
commit c1b361560f
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-08-04 Rohit <rohitarulraj@freescale.com>
PR target/60102
* gcc.target/powerpc/pr60102.c: New testcase.
2014-08-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/61713

View file

@ -0,0 +1,11 @@
/* { dg-do compile } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */
/* { dg-options "-mcpu=8548 -mspe -mabi=spe -g -mfloat-gprs=double" } */
double
pr60102 (double x, int m)
{
double y;
y = m % 2 ? x : 1;
return y;
}