diff test/suite_aggrs/globals.c @ 482:0f3b6898078d

suite_aggrs (still ahead of checked in version of dyncall, sorry): - renaming struct -> aggr - added knobs to: * control struct packing * whether to test immutability of aggr-by-val params * how to copy aggrs (field by field or via = op (which might do a memcpy and thus copy padding garbage, also)) - some macros to reduce file sizes of generated cases - setting default misalignment to 1
author Tassilo Philipp
date Wed, 16 Mar 2022 16:27:50 +0100
parents 8b6a39592f86
children
line wrap: on
line diff
--- a/test/suite_aggrs/globals.c	Wed Mar 02 17:30:51 2022 +0100
+++ b/test/suite_aggrs/globals.c	Wed Mar 16 16:27:50 2022 +0100
@@ -31,7 +31,7 @@
 DEF_TYPES
 #undef X
 
-#define AGGR_MISALIGN 0
+#define AGGR_MISALIGN 1
 
 static double rand_d()      { return ( ( (double) rand() )  / ( (double) RAND_MAX ) ); }