Comment # 18 on bug 1133245 from
(In reply to Dr. Werner Fink from comment #17)
> (In reply to Martin Li��ka from comment #15)
> > Having the configure patch, would you like to enable LTO for the package?
> 
> I had tried it and it builds ... but does it work in real life?  In my
> experiences no one can trust a compiler which (re)moves logic from code.

We name it optimizing compiler :)

> In fact in past I had used memory barriers in the body of for loops where
> the code was only in the boolean and incremental statement to avoid that
> those loops become removed.

Well you should probably use volatile for the variables which can be influenced
by a handlers. Doing that the memory barious should not be needed.


You are receiving this mail because: