Changeset: c25076e534e9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c25076e534e9
Modified Files:
        gdk/gdk_ssort.c
Branch: Jul2017
Log Message:

Force alignment.


diffs (17 lines):

diff --git a/gdk/gdk_ssort.c b/gdk/gdk_ssort.c
--- a/gdk/gdk_ssort.c
+++ b/gdk/gdk_ssort.c
@@ -47,8 +47,13 @@ typedef struct {
         * most 2 lng's, we don't need to allocate anything. */
        void *th;
        void *tt;
+#ifdef HAVE_HGE
+       hge tempstorageh[1];    /* 16 bytes should be wide enough ... */
+       hge tempstoraget[1];    /* ... for all our fixed-sized data */
+#else
        lng tempstorageh[2];    /* 16 bytes should be wide enough ... */
        lng tempstoraget[2];    /* ... for all our fixed-sized data */
+#endif
 
        /* This controls when we get *into* galloping mode.  It's
         * initialized to MIN_GALLOP.  merge_lo and merge_hi tend to
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to