The following fixes a problem with my recently added testcase that resulted in 
failure for 32-bit since instructions to stack a frame reduced the number of 
nop's that were needed to force the load into a separate dispatch group.

Tested on powerpc64-linux, committed as obvious.

-Pat


testsuite/ChangeLog:
2012-06-05  Pat Haugen <pthau...@us.ibm.com>

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


Index: gcc/testsuite/gcc.target/powerpc/lhs-1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/lhs-1.c    (revision 188208)
+++ gcc/testsuite/gcc.target/powerpc/lhs-1.c    (working copy)
@@ -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;
 }

Reply via email to