------- Comment #2 from graeter at hydrixos dot org  2005-10-09 12:17 -------
Subject: Re:  Optimizer ignores register changing (STOSL)

pinskia at gcc dot gnu dot org wrote:
> ------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-09 03:11 
> -------
> In inline-asm if you say that you don't modify a register, you better not
> modify a register.  This is not a bug.

But the modified register is a register of the input list, so gcc should 
know that it will be used. Or did I misunderstood this [1]:

"5.3 Clobber list

[..] We shoudn’t list the input and output registers in this list. 
Because, gcc knows that "asm" uses them (because they are specified 
explicitly as constraints)."

cu

FG

[1] (http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html#ss5.3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24282

Reply via email to