Closed Bug 498236 Opened 15 years ago Closed 15 years ago

TM: Incorrect number with "d %= 4294967293"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: jruderman, Assigned: gal)

References

Details

(Keywords: regression, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

var d = 7;
for (var i = 0; i < 4; ++i) {
  d %= 4294967293;
}
print(d);


Without JIT: 7
With JIT:    1
Fallout from recent integer module demotion patch I would guess.
Assignee: general → gal
Attached patch patchSplinter Review
Attachment #383286 - Flags: review?(dvander)
Attachment #383286 - Flags: review?(dvander) → review+
http://hg.mozilla.org/tracemonkey/rev/772aed85e9d1
Flags: blocking1.9.2?
Whiteboard: fixed-in-tracemonkey
http://hg.mozilla.org/mozilla-central/rev/772aed85e9d1
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: blocking1.9.2? → blocking1.9.2+
Resolution: --- → FIXED
Mass change: adding fixed1.9.2 keyword

(This bug was identified as a mozilla1.9.2 blocker which was fixed before the mozilla-1.9.2 repository was branched (August 13th, 2009) as per this query: http://is.gd/2ydcb - if this bug is not actually fixed on mozilla1.9.2, please remove the keyword. Apologies for the bugspam)
Keywords: fixed1.9.2
Bug in removed tracer code, setting in-testsuite- flag.
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: