lhs-1.c: Use parm instead of stack space.

* gcc.target/powerpc/lhs-1.c: Use parm instead of stack space.

From-SVN: r188247
This commit is contained in:
Pat Haugen 2012-06-05 19:06:57 +00:00 committed by Pat Haugen
parent a6dac809f8
commit 951c68fac8
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2012-06-05 Pat Haugen <pthaugen@us.ibm.com>
* gcc.target/powerpc/lhs-1.c: Use parm instead of stack space.
2012-06-05 Edmar Wienskoski <edmar@freescale.com>
* gcc.dg/tree-ssa/vector-3.c: Adjust regular expression.

View File

@ -13,10 +13,9 @@ typedef union {
};
} words;
unsigned int f (double d)
unsigned int f (double d, words *u)
{
words u;
u.val = d;
return u.w2;
u->val = d;
return u->w2;
}