This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: warn on memset with constant length 0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]