From: redmine@... Date: 2011-04-15T15:08:19+09:00 Subject: [ruby-core:35770] [Ruby 1.9 - Bug #4566][Assigned] followup of Issue #4566 has been updated by Yui NARUSE. Status changed from Open to Assigned Assignee set to Nobuyoshi Nakada FYI, on FreeBSD 8.1 and gcc4.6 -O3, it wokrs. ---------------------------------------- Bug #4566: followup of [ruby-core:32747] http://redmine.ruby-lang.org/issues/4566 Author: jojelino lastname Status: Assigned Priority: High Assignee: Nobuyoshi Nakada Category: core Target version: 1.9.3 ruby -v: revision 31234 [ruby-core:32747] Index: vm_exec.c =================================================================== --- vm_exec.c (revision 31234) +++ vm_exec.c (working copy) @@ -11,7 +11,7 @@ #include -#if VMDEBUG > 0 +#if (VMDEBUG > 0) | ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6) && (__GNUC_PATCHLEVEL__ >= 0)) #define DECL_SC_REG(type, r, reg) register type reg_##r #elif __GNUC__ && __x86_64__ && !__clang__ please apply this, it resolves segmentation fault in gcc > 4.6 specifying register name explicitly fails. although it worked in previous version. if you continue using explicit register name, you gotta find workaround about it ;) -- http://redmine.ruby-lang.org