https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95971

--- Comment #12 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail 
dot com> ---
(In reply to Marc Glisse from comment #11)
>       while(!a.isZero());
> 
> that doesn't look like something you would find in real code. Are you
> waiting for a different thread to modify a? Then you should use an atomic
> operation. Are you waiting for the hardware to change something? Use
> volatile. Do you really want an infinite loop? Spell it out
> if(!a.isZero())for(;;);

The code I sent is a downsized version of a larger code, which means that the
posted code isn't the real code.

Reply via email to