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

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

From:
Tony Cook via RT
Date:
March 7, 2018 04:59
Subject:
[perl #132870] Storable dclone() broken (latest VS 2017 32-bit)
Message ID:
rt-4.0.24-24712-1520398741-1544.132870-15-0@perl.org
On Mon, 19 Feb 2018 21:22:55 -0800, tonyc wrote:
> 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

Applied as 32ce30d709666239149a4f04ddcfbdec00005288 with a minor change to the commit message.

Tony



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



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