[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: memset bugs.



On 11/30/2009 01:10 PM, Peter Jones wrote:
> On 11/30/2009 11:39 AM, Casey Dahlin wrote:
>> On 11/30/2009 10:39 AM, Peter Jones wrote:
>>> On 11/27/2009 02:25 PM, Casey Dahlin wrote:
>>>> On 11/27/2009 06:03 AM, Richard W.M. Jones wrote:
>>>>> On Fri, Nov 27, 2009 at 03:28:19AM -0500, Gregory Maxwell
>>>>> wrote:
>>>>>> A literal zero prior to preprocessing is either a bug, or
>>>>>> some kind of dead- code causing place-holder.
>>>>>
>>>>> Not necessarily .. the C code itself may be generated from 
>>>>> something else.
>>>>>
>>>>> Rich.
>>>>>
>>>>
>>>> In which case the C code is no longer "source" and should be
>>>> excluded from the analysis.
>>>
>>> No, when swig (or whatever) produces bad code, we still want the
>>> compiler to identify it and toss it.  It's then up to the packager
>>> to realize it's swig producing the bad code, but it isn't magically
>>> good code that doesn't result in real bugs.
>>>
>>
>> The compiler isn't doing these checks, but point taken.
> 
> Go read Jakub's reply again ;)
> 
> https://www.redhat.com/archives/fedora-devel-list/2009-November/msg01966.html
> 

I stand corrected.

--CJD


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]