summaryrefslogtreecommitdiff
path: root/include/ruby/3/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/3/memory.h')
-rw-r--r--include/ruby/3/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/3/memory.h b/include/ruby/3/memory.h
index 18ed1d81cb..4e9741eee5 100644
--- a/include/ruby/3/memory.h
+++ b/include/ruby/3/memory.h
@@ -253,7 +253,7 @@ ruby3_size_mul_or_raise(size_t x, size_t y)
}
else {
ruby_malloc_size_overflow(x, y);
-# if ! defined(__sun)
+# if ! defined(__sun) && ! RUBY3_COMPILER_IS(Intel)
RUBY3_UNREACHABLE_RETURN(0);
# endif
}