summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-29 20:26:00 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-29 20:26:00 +0900
commitda89f7f58d6e0a662dfdeaf7df7aea9e3e7c02b5 (patch)
tree3b30f47fe592e4bad080e6d1fde3f9745d0a2bf3 /test/ruby/test_lambda.rb
parent26088dcd4a1f1784ae24387ce6a98fcad48749c5 (diff)
Prefer `ALLOCV` over `ALLOCA` for unknown size
`ALLOCA` with too large size may result in stack overflow. Incidentally, this suppresses the GCC false maybe-uninitialized warning in `product_each`. Also shrink `struct product_state` when `sizeof(int) < sizeof(VALUE)`.
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions