lkml.org 
[lkml]   [1998]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Strange code in 2.0.pre35 - apricot.c
Date
> If it's intentional, what is it supposed to do then? egcs complains that
> the left side of the expression has no effect, so it doesn't compile any
> code for it. I'm not sure about gcc 2.7.2, but if it implements a correct
> C grammer, it should do the same thing.

Egcs picks it up because there is a bug, but that isnt the bug. The bug
is the scb's are not marked as volatile. That while loop polls the status
field then checks the second value it references.

I've put that bit back right in my tree and added the volatile

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.094 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site