--- Comment #2 from etienne_lorrain at yahoo dot fr 2006-09-12 11:12
---
> "X" (*str)
> We need a temporary here because *str can be modified inside the asm and we
> don't know that you want it in a memory or a register.
*str cannot be modified inside the asm because that is an input
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-12 05:55 ---
"X" (*str)
We need a temporary here because *str can be modified inside the asm and we
don't know that you want it in a memory or a register.
Anyways using "m"(*str) instead changes that and fixes your issue.
Since