Re: [PATCH] gimple-ssa-warn-alloca: Always initialize limit [PR99989]

2021-04-10 Thread Richard Biener
On April 10, 2021 8:11:33 AM GMT+02:00, Jakub Jelinek wrote: >Hi! > >This PR is about a -W*uninitialized warning on riscv64. >alloca_type_and_limit is documented to have limit member only defined >when type is ALLOCA_BOUND_MAYBE_LARGE or ALLOCA_BOUND_DEFINITELY_LARGE >and otherwise just default c

[PATCH] gimple-ssa-warn-alloca: Always initialize limit [PR99989]

2021-04-09 Thread Jakub Jelinek via Gcc-patches
Hi! This PR is about a -W*uninitialized warning on riscv64. alloca_type_and_limit is documented to have limit member only defined when type is ALLOCA_BOUND_MAYBE_LARGE or ALLOCA_BOUND_DEFINITELY_LARGE and otherwise just default constructs limit, which for wide_int means no initialization at all.