Opened 10 years ago

Closed 10 years ago

#412 closed defect (fixed)

another case where simple arithmetic is beyond our grasp.

Reported by: gb Owned by: gb
Priority: major Milestone:
Component: Compiler Version:
Keywords: Cc:

Description

I'm too lazy to submit another bug report, but (on x8664):

? (defun foo ()
  (let* ((x most-negative-fixnum)
         (y 1))
    (- x y)))
FOO
? (foo)
1152921504606846975
? 

Hmm. I expected something more ... negative.

(This is broken on 1.2 as well. I haven't checked ppc64, but I'd be suspicious.)

Change History (1)

comment:1 Changed 10 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

This seems to have been broken on 32-bit architectures as well; I think that it was fixed in r11667 and r11668.

(The comment about being too lazy to submit another bug report had to do with the fact that I originally thought that this was directly related to ticket:411. When I realized that it was a separate issue, I cut and pasted what was originally supposed to be a comment on ticket:411 into a new bug report. It's really a similar but separate issue.)

Note: See TracTickets for help on using tickets.