Skip to content
  • Iain Lane's avatar
    gdatetime: Mark the usecs as volatile · e2054240
    Iain Lane authored
    On i386, we were seeing that this calculation was producing an incorrect
    result, probably because usec was being stored in an 80-bit register
    before being written back into a 64-bit float in memory. If we mark the
    variables as volatile, they are not stored in registers and we avoid
    this bug.
    e2054240