Can a float volatile asm be used as optimization barrier?

Parmenides mobile.parmenides@gmail.com
Fri Jul 1 23:01:00 GMT 2011


> This is exactly what the manual says.  The asm has no side-effects
> except to change __old.  And __old is not used, which means that any
> statements which assign a value to __old are unnecessary and may be
> removed.  Since the only effect of the asm is to change __old, it is
> removed.

I really have gotten a misunstanding about the manual. ;-)
Thanks a lot.



More information about the Gcc-help mailing list