gcc compiler bug (sparc, ppc)

Kate Feng feng1 at bnl.gov
Wed May 23 16:47:57 UTC 2007


Sergei Organov wrote:

>Ralf Corsepius <ralf.corsepius at rtems.org> writes:
>  
>
>>On Wed, 2007-05-23 at 08:43 -0700, Till Straumann wrote:
>>    
>>
>[...]
>  
>
>>> Also, the fact that the problem
>>>has been there for a while (at least 3.2.3 ... 4.1.1) makes me
>>>believe that it might not have been reported yet.
>>>      
>>>
>>This is what baffles me - such constructs are such kind of common,
>>    
>>
>
>Really? With overlapping list nodes? Common?! Did you miss that the bug
>could be exposed only when two nodes overlap like this:
>
>node1:  |next|prev|
>node2:       |next|prev|
>
>?
>
>  
>
>>my gut feeling is, "we must be missing something".
>>    
>>
>
>I think it's rather unlikely that this bug will show itself in real-life
>code, so chances are high nobody but Till noticed it yet.
>
I was reading the m_freem() code about two days ago.  I suspected
some problems there, but I was not sure if it was gcc compiler related
or related to other part of RTEMS code.
It behaved the same at least 3.2.2 ... 4.1.1.

Kate

>
>-- Sergei.
>_______________________________________________
>rtems-users mailing list
>rtems-users at rtems.com
>http://rtems.rtems.org/mailman/listinfo/rtems-users
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070523/539a892d/attachment-0001.html>


More information about the users mailing list