Compiling with machine code breaks it for me, too.

On Wed, 2 Jan 2013, Arne Goedeke wrote:

My clang says

  clang version 3.2 (tags/RELEASE_32/final)
  Target: x86_64-pc-linux-gnu
  Thread model: posix

The edge case works fine here. I compiled pike --without-machine-code,
will try without, too.

On Tue, 1 Jan 2013, Jonas Walld?n @ Pike  developers forum wrote:

 Bignums in general work (and they did before too), but there are edge
 cases that breaks:

  Pike v7.9 release 5 running Hilfe v3.5 (Incremental Pike Frontend)
>  -0x7fffffff;
  (1) Result: -2147483647
>  -0x7fffffff - 1;
  (2) Result: 2147483648
>  -0x7fffffff - 2;
  (3) Result: -2147483649

 Does (2) above produce a negative result in your build? I'm using the
 clang from Xcode 4.5 which identifies itself like this:

  $ clang --version
  Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM
  3.1svn)
  Target: x86_64-apple-darwin12.2.0
  Thread model: posix

  • ove... Arne Goedeke
    • ... Jonas Walld�n @ Pike developers forum
      • ... Jonas Walld�n @ Pike developers forum
      • ... Jonas Walld�n @ Pike developers forum
        • ... Jonas Walld�n @ Pike developers forum
        • ... Arne Goedeke
          • ... Jonas Walld�n @ Pike developers forum
            • ... Arne Goedeke
              • ... Arne Goedeke
                • ... Jonas Walld�n @ Pike developers forum
                • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
                • ... Jonas Walld�n @ Pike developers forum
                • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
                • ... Mirar @ Pike developers forum
                • ... Jonas Walld�n @ Pike developers forum
                • ... Arne Goedeke
                • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
                • ... Jonas Walld�n @ Pike developers forum
                • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to