http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57701
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu.org --- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- (In reply to rennis from comment #3) > Richard, do you have any information on how to specify the side-effects? > Any tips or guesses on how you would go about it in this situation? I'm > having the same problem as sqweek (we're both trying to build inferno-os, a > 32-bit application, on archlinux 64-bit). I'm far out of my realm here. > I've played with assembly before, but never done much with inline assembly. I'm not Richard but... For effects other than the output operands, use "asm volatile" (which you don't want to use if you *can* express the effect in terms of output operands). Note also that your asm input constraints in fpe.c are totally wrong; input constraints don't take register names, they're collections of "magic letters" found in the gcc info pages in an arch-specific section. That you managed to group them to make valid register names unfortunately means nothing except possibly to expose an opportunity for warnings improvement.