ruby-changes:54875
From: naruse <ko1@a...>
Date: Sun, 17 Feb 2019 00:51:06 +0900 (JST)
Subject: [ruby-changes:54875] naruse:r67080 (trunk): Revert "Assert that union sizes match"
naruse 2019-02-17 00:51:01 +0900 (Sun, 17 Feb 2019) New Revision: 67080 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67080 Log: Revert "Assert that union sizes match" This reverts commit r67078. It breaks armv7l-linux-eabihf and sparc-solaris2.11. http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20190215T061708Z.diff.html.gz http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20190215T072546Z.diff.html.gz Modified files: trunk/gc.c Index: gc.c =================================================================== --- gc.c (revision 67079) +++ gc.c (revision 67080) @@ -449,8 +449,6 @@ typedef struct RVALUE { https://github.com/ruby/ruby/blob/trunk/gc.c#L449 #pragma pack(pop) #endif -STATIC_ASSERT(rvalue_size, sizeof(((RVALUE*)0)->as) == sizeof(((RVALUE*)0)->as.values)); - typedef uintptr_t bits_t; enum { BITS_SIZE = sizeof(bits_t), -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/