direct-move.h: Fix header for executable tests.

* gcc.target/powerpc/direct-move.h: Fix header for executable tests.

From-SVN: r203994
This commit is contained in:
Pat Haugen 2013-10-23 21:40:56 +00:00 committed by Pat Haugen
parent 89ac07979f
commit c19d33d8f1
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-10-23 Pat Haugen <pthaugen@us.ibm.com>
* gcc.target/powerpc/direct-move.h: Fix header for executable tests.
2013-10-23 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/58775

View File

@ -1,5 +1,7 @@
/* Test functions for direct move support. */
#include <math.h>
extern void abort (void);
void __attribute__((__noinline__))
copy (TYPE *a, TYPE *b)
@ -107,7 +109,7 @@ const struct test_struct test_functions[] = {
void __attribute__((__noinline__))
test_value (TYPE a)
{
size_t i;
long i;
for (i = 0; i < sizeof (test_functions) / sizeof (test_functions[0]); i++)
{
@ -123,8 +125,7 @@ test_value (TYPE a)
int
main (void)
{
size_t i;
long j;
long i,j;
union {
TYPE value;
unsigned char bytes[sizeof (TYPE)];