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
This commit is contained in:
parent
4cf460a7bb
commit
b888ee25ff
@ -260,10 +260,6 @@ void rb_ia64_flushrs(void);
|
|||||||
RUBY_ALIAS_FUNCTION_TYPE(VALUE, prot, name, args)
|
RUBY_ALIAS_FUNCTION_TYPE(VALUE, prot, name, args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(UNALIGNED_WORD_ACCESS) && defined(__GNUC__) && __GNUC__ >= 6
|
|
||||||
# define UNALIGNED_WORD_ACCESS 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UNALIGNED_WORD_ACCESS
|
#ifndef UNALIGNED_WORD_ACCESS
|
||||||
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||||
|
4
regint.h
4
regint.h
@ -48,10 +48,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(UNALIGNED_WORD_ACCESS) && defined(__GNUC__) && __GNUC__ >= 6
|
|
||||||
# define UNALIGNED_WORD_ACCESS 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UNALIGNED_WORD_ACCESS
|
#ifndef UNALIGNED_WORD_ACCESS
|
||||||
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
#if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||||
|
4
st.c
4
st.c
@ -1377,10 +1377,6 @@ strhash(st_data_t arg)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if !defined(UNALIGNED_WORD_ACCESS) && defined(__GNUC__) && __GNUC__ >= 6
|
|
||||||
# define UNALIGNED_WORD_ACCESS 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UNALIGNED_WORD_ACCESS
|
#ifndef UNALIGNED_WORD_ACCESS
|
||||||
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \
|
||||||
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user