This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: warn on memset with constant length 0
- From: "Müller, Dirk" <dmueller at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Dec 2006 14:58:19 +0100
- Subject: Re: PATCH: warn on memset with constant length 0
- References: <85ejrgblwc.fsf@assaris.stacken.kth.se>
Am Montag, 4. Dezember 2006 00:27 schrieb Assar:
> This is patch to warn when memset is being called with a constant
> length 0. I tested this on i686-pc-linux-gnu.
this seems to be a regression, as one of my scripts indicates that we used to
emit
warning: memset used with constant zero length parameter
though I cannot figure out which gcc version broke it.
Dirk