https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86621

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Before the changes, -Walloca-larger-than wasn't enabled by default,
warn_alloca_limit (and warn_vla_limit) defaulted to 0, which means
e.g. pass_walloca::gate in the second pass would return false.
Note, neither of these options is meant to be included in -Wall or -Wextra.
But newly the options default to HOST_WIDE_INT_MAX, but the gate really hasn't
been adjusted.
The options weren't enabled by default before and for a good reason, so I
wonder why you've changed that.
I'd vote for changing their default to Init(-1) from Init(HOST_WIDE_INT_MAX)
and changing back documentation, to match previous behavior.

Reply via email to