Since you ask so nicely I added another example but I'm afraid it isn't terribly interesting:In contrast, a call to alloca that isn't bounded at all such as in the following function will elicit the warning below regardless of the size argument to the option. void f (size_t n) { char *d = alloca (n) ... } warning: unbounded use of 'alloca' [-Walloca-larger-than=]
I like it. Thank you so much for taking care of all this.