[testsuite] remove ppc64 hack from 20040709-2.c (checked in)

Janis Johnson janis187@us.ibm.com
Tue May 23 03:28:00 GMT 2006


Steven Bosscher asked me to take a look at this test, which had a hack
for a bug which has since been fixed.  I verified that the test passes
on powerpc64-linux for both -m32 and -m64 when the hack is removed.
Checked in on mainline.  I'll check it in on the 4.1 and 4.0 branches
after 4.1 reopens.

2006-05-22  Janis Johnson  <janis187@us.ibm.com>

	* gcc.c-torture/execute/20040709-2.c: Remove temporary hack for ppc64.

Index: gcc/testsuite/gcc.c-torture/execute/20040709-2.c
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/20040709-2.c	(revision 113986)
+++ gcc/testsuite/gcc.c-torture/execute/20040709-2.c	(working copy)
@@ -87,12 +87,7 @@
     abort ();					\
 }
 
-#ifdef __powerpc64__
-/* Temporary hack for broken PPC64 unaligned handling PR rtl-optimization/13674 */
-# define pck
-#else
-# define pck __attribute__((packed))
-#endif
+#define pck __attribute__((packed))
 struct pck A { unsigned short i : 1, l : 1, j : 3, k : 11; }; T(A)
 struct pck B { unsigned short i : 4, j : 1, k : 11; unsigned int l; }; T(B)
 struct pck C { unsigned int l; unsigned short i : 4, j : 1, k : 11; }; T(C)



More information about the Gcc-patches mailing list