This looks good, but can we move the code into c-common rather than
duplicate it?

Jason


On Fri, Apr 22, 2016 at 9:30 AM, Bernd Schmidt <bernds_...@t-online.de> wrote:
> We had this problem in the C frontend until very recently:
>
>   int array[some_count];
>   memset (array, 0, some_count);
>
> which forgets to multiply by sizeof int. The following patch implements a
> new warning option for this.
>
> Bootstrapped and tested (a while ago, will retest) on x86_64-linux. Ok for
> trunk?
>
>
> Bernd

Reply via email to