Commit da89f7f
committed
Prefer
`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)`.ALLOCV over ALLOCA for unknown size1 parent 26088dc commit da89f7f
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3581 | 3581 | | |
3582 | 3582 | | |
3583 | 3583 | | |
| 3584 | + | |
3584 | 3585 | | |
3585 | 3586 | | |
3586 | | - | |
3587 | 3587 | | |
3588 | 3588 | | |
3589 | 3589 | | |
| |||
3622 | 3622 | | |
3623 | 3623 | | |
3624 | 3624 | | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
3625 | 3631 | | |
3626 | 3632 | | |
3627 | 3633 | | |
3628 | 3634 | | |
3629 | 3635 | | |
3630 | | - | |
| 3636 | + | |
3631 | 3637 | | |
3632 | 3638 | | |
3633 | | - | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
3634 | 3642 | | |
3635 | 3643 | | |
3636 | 3644 | | |
| |||
0 commit comments