[Bug tree-optimization/17884] [4.0 Regression] asm 'volatile' is not honored as documented
amacleod at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 7 20:02:00 GMT 2004
------- Additional Comments From amacleod at redhat dot com 2004-10-07 20:02 -------
ok, so how is this suppose to work again?
Entering SSA->normal, I see:
double FFF;
double DDD;
double fpenv;
double sum;
# BLOCK 0
# PRED: ENTRY [100.0%] (fallthru,exec)
sum_3 = DDD_1 + FFF_2;
__asm__ __volatile__("mtfsf 255,%0"::"f" fpenv_4);
return sum_3;
# SUCC: EXIT [100.0%]
is the volatile in ASM suppose to block all movement across it or something?
There is nothing in the asm instruction indicating it has anything to do with
sum_3....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17884
More information about the Gcc-bugs
mailing list