Hi,

I've built dehydra on top of gcc 4.3.2. This is on a 64-bit RHEL4- based system, but building a 32-bit compiler which produces 32-bit binaries (= built with and gcc specs changed to default to "-m32 - Wa,--32" and 64-bit multilibs turned off).

At the end of my build, I do "make check_both", and I get the output listed below. Is this a known problem, or is this a feature of my build? Either way, any ideas where the problem may be and how to fix it?

The two numbers are 2^32-1 and 2^64-1. I assume the bit field it complains about is in types.cc:

  struct Boo {
    unsigned int i:31;
  } foo;

I am not entirely sure how the max value of that could be either 2^32-1 or 2^64-1.

Regards,
Lassi

PS. I know between little and nothing about mercurial; is it possible to check out a "tag" or some fixed labelled revision of dehydra stuff somehow?



python unit_test_harness.py both ".../gcc-4.3.2/obj/gcc/cc1plus - quiet -O1 -ftest-coverage -fplugin=../gcc_%s.so -o /dev/null -fplugin- arg=%s %s" .................x...................................................... .
Test Failure:
Test command: .../gcc-4.3.2/obj/gcc/cc1plus -quiet -O1 -ftest- coverage -fplugin=../gcc_treehydra.so -o /dev/null -fplugin- arg=test_lazytypes.js types.cc Failure msg: Expected 'OK' output; got 'at path: root.type.variantOf.members.0.type.members. 0.type.bitfieldOf.max.value dehydra: 4294967295 lazy: 18446744073709551615'

Unit Test Suite Summary:
     72 passed
      1 failed
      0 error(s)

_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to