diff options
author | Rohit Arul Raj <rohitarulraj@freescale.com> | 2014-08-04 16:55:07 +0000 |
---|---|---|
committer | Edmar Wienskoski <edmarwjr@gcc.gnu.org> | 2014-08-04 16:55:07 +0000 |
commit | c1b361560f0785e02bb25d19de01cde3729dd35c (patch) | |
tree | 59208bb914a614e78f68d3743dabcf48f03e9d83 | |
parent | 23742a9e1b63ece52375966493ef873fdd6f8e66 (diff) | |
download | gcc-c1b361560f0785e02bb25d19de01cde3729dd35c.zip gcc-c1b361560f0785e02bb25d19de01cde3729dd35c.tar.gz gcc-c1b361560f0785e02bb25d19de01cde3729dd35c.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr60102.c | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e149043..efbb94d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.target/powerpc/pr60102.c b/gcc/testsuite/gcc.target/powerpc/pr60102.c new file mode 100644 index 0000000..d32e41d --- /dev/null +++ b/gcc/testsuite/gcc.target/powerpc/pr60102.c @@ -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; +} |