develooper Front page | perl.perl5.porters | Postings from February 2018

[perl #132870] Storable dclone() broken (latest VS 2017 32-bit)

Thread Next
From:
Tony Cook via RT
Date:
February 20, 2018 05:23
Subject:
[perl #132870] Storable dclone() broken (latest VS 2017 32-bit)
Message ID:
rt-4.0.24-9828-1519104175-1599.132870-15-0@perl.org
On Sun, 18 Feb 2018 18:32:32 -0800, tonyc wrote:
> > The value of 1 got changed to -255. I've also seen 0 change to -256!

I suspect the compiler is being confused by the AIX compiler workaround.

The attached patch prevented the issue for me.

Considering tmp is a signed char (limited to -128 through 127), this can only be a compiler bug.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=132870

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About