Status: New
Owner: ----

New issue 2692 by [email protected]: Crankshaft produces wrong code for plus arithmetics.
http://code.google.com/p/v8/issues/detail?id=2692

The attached output is from dart2js. It's a sha1 test file, that validates the computation of sha1 against a expected list of results.

Running with --nocrankshaft will not give any exception. With crankshaft enabled I see

[218, 57, 163, 238, 94, 107, 75, 13, 50, 85, 191, 239, 149, 96, 24, 144, 175, 216, 7, 9] [91, 169, 60, 157, 176, 207, 249, 63, 82, 181, 33, 215, 66, 14, 67, 246, 237, 162, 120, 79] [63, 41, 84, 100, 83, 103, 139, 133, 89, 49, 193, 116, 169, 125, 108, 8, 148, 184, 245, 70] [12, 122, 98, 63, 210, 187, 192, 91, 6, 66, 59, 227, 89, 228, 2, 29, 54, 231, 33, 173] [160, 42, 5, 176, 37, 185, 40, 192, 57, 207, 26, 231, 232, 238, 4, 231, 193, 144, 192, 219] [28, 242, 81, 71, 45, 89, 248, 250, 222, 179, 171, 37, 142, 144, 153, 157, 132, 145, 190, 25] [134, 132, 96, 217, 141, 9, 216, 187, 185, 61, 123, 108, 221, 21, 204, 127, 190, 198, 118, 185] [28, 74, 162, 238, 239, 205, 171, 137, 152, 186, 220, 254, 174, 152, 149, 67, 195, 210, 225, 240] out.js:1273: Expect.equals(expected: <6dc86f11b8cdbe879bf8ba3832499c2f93c729ba>, actual: <1c4aa2eeefcdab8998badcfeae989543c3d2e1f0>) fails.
  throw $.wrapException(ex);
          ^
Error
    at $.wrapException (out.js:1266:11)
    at $.throwExpression (out.js:1273:11)
    at $.Expect_equals (out.js:1589:5)
    at $.test (out.js:1678:7)
    at $.main (out.js:1708:5)
    at out.js:1996:7


Attachments:
        out.js  1.0 MB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to