« Previous | Next » 

Revision 1d9000e8

ID1d9000e8238ffc346b0a08f4c0619c4e5711a7dc

Added by Paolo Bonzini about 14 years ago

declare saved_env_reg as volatile

This ensures that the compiler does not move it away from
the "env = env1;" assignment. Fixes a miscompilation
on gcc 4.4, reported by Jay Foad.

Cc: <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences