Skip to content

test_crc.cs fails on 64 bit systems #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
Running cs regression tests
Failed Regression Test: test_crc.cs
  See test_crc.cs.out and test_crc.cs.err
make: *** [test] Error 1

test_crc.cs.err
4c4
< -2128917020

---
> 2166050276

test_crc.cs.out
Parsing test_crc.cs
419156592
1357503972
2166050276


test_crc.cs.gold

Parsing test_crc.cs
419156592
1357503972
-2128917020

This is caused by n in struct _arg being a long int, which is 32 bits on
32bit systems, and 64 bits on 64bit systems.  Making n just an int causes
it to pass, and making it a long will change the gold but should make it
pass on both as well.  The consequences of making either of those changes
will have to be investigated.

Original issue reported on code.google.com by blon...@gmail.com on 11 Feb 2008 at 8:14

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions