Backend Bug

36fcb1b
Opened by Michael Bebenita at 2010-08-10 23:04:09

The following test case fails:

fn main() -> () { let int a = 10; log a; // If this line is commented out, the test passes. check (a * (a - 1) == 90); }

  1. Also, if you distribute the factor a in the expression, i.e.

    check (a * a - a == 90);
    

    then the test passes.

    Roy Frostig at 2010-07-27 22:42:24

  2. Kill the preallocator, install a sane replacement. Closed by 7595aca5e3254d7b0e93f2599ce477984acadfef. And probably a lot of others.

    Graydon Hoare at 2010-08-04 07:27:49

  3. Still a problem on Linux.

    Michael Bebenita at 2010-08-09 17:51:10

  4. Always bounce mul/div/mod ops. Closed by 9f6dec9e13f17bb8a42521f6884a09eebeb023cb harder.

    Graydon Hoare at 2010-08-10 23:04:09