re PR middle-end/42834 (memcpy folding overeager)
[gcc.git] / gcc / testsuite / gcc.dg / struct / wo_prof_single_str_local.c
index f9cb7d58a5d62f0fc1c288e00513b4b93da4eddc..313af1080c1d293c5c9049b769ffae064ce0a810 100644 (file)
@@ -25,9 +25,11 @@ main ()
   if (str.a != res)
     abort ();
 
-  return str.a;
+  /* POSIX ignores all but the 8 low-order bits, but other
+     environments may not.  */
+  return (str.a & 255);
 }
 
 /*--------------------------------------------------------------------------*/
-/* { dg-final { scan-ipa-dump "No structures to transform" "ipa_struct_reorg" { xfail { "avr-*-*" } } } } */
+/* { dg-final { scan-ipa-dump "No structures to transform" "ipa_struct_reorg" { xfail *-*-* } } } */
 /* { dg-final { cleanup-ipa-dump "*" } } */