diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-30 15:39:03 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-30 15:39:03 +0000 |
commit | bfab101a2d182f1447f8f4f78e6eea490fc7995a (patch) | |
tree | e976d0737f5068212d476e095e224ff1d1dc16e9 /include/ruby | |
parent | c24912aa0f7d618307a431e53fd1f551497307f1 (diff) | |
download | ruby-bfab101a2d182f1447f8f4f78e6eea490fc7995a.tar.gz |
revert UNALIGNED_WORD_ACCESS for GCC6
Released GCC 6.0 fixed the issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
[ruby-core:72211] [Bug #11831] [Bug #11979]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/defines.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 3235b8b875..b4d75294d4 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -260,10 +260,6 @@ void rb_ia64_flushrs(void); RUBY_ALIAS_FUNCTION_TYPE(VALUE, prot, name, args) #endif -#if !defined(UNALIGNED_WORD_ACCESS) && defined(__GNUC__) && __GNUC__ >= 6 -# define UNALIGNED_WORD_ACCESS 0 -#endif - #ifndef UNALIGNED_WORD_ACCESS # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \ |