develooper Front page | perl.perl5.porters | Postings from August 2016

64bit sign fail in warnings on HP-UX 11.11

From:
H.Merijn Brand
Date:
August 30, 2016 15:45
Subject:
64bit sign fail in warnings on HP-UX 11.11
Message ID:
20160830174447.7cc3be50@pc09.procura.nl
Lets get rid of this one. Doesn't look too hard:

$ calc
Calc > -9223372032559582752
01000000000040000670740 / -9223372032559582752 / 0x80000001000371E0
Calc > 9223372041149968864
01000000000040000670740 / -9223372032559582752 / 0x80000001000371E0

From the logs …

# Multideref
() = "$a[140688675223280]";
EXPECTED:
ok
Use of uninitialized value $a[140688675223280] in string at - line 15.
GOT:
-9223372032559582752 != 9223372041149968864
Use of uninitialized value $a[140688675223280] in string at - line 15.
# Failed test 363 - 64-bit array subscripts at lib/warnings/9uninit line 2163
make: *** [test_harness] Error 1

v5.25.4-21-g51068c1  Configuration (common) none
----------- ---------------------------------------------------------
O O O O O O 
F F F F F F -Duse64bitall
O O O O O O -Duseithreads
F F F F F F -Duseithreads -Duse64bitall
| | | | | +- LC_ALL = univ.utf8 -DDEBUGGING
| | | | +--- PERLIO = perlio -DDEBUGGING
| | | +----- PERLIO = stdio  -DDEBUGGING
| | +------- LC_ALL = univ.utf8
| +--------- PERLIO = perlio
+----------- PERLIO = stdio 

Locally applied patches:
    SMOKE51068c1406a3db6f7be27d5041ff91444bac8886

Testsuite was run only with 'harness'

Failures: (common-args) none
[stdio/perlio/univ.utf8] -Duse64bitall
[stdio/perlio/univ.utf8] -DDEBUGGING -Duse64bitall
[stdio] -Duseithreads -Duse64bitall
[stdio] -DDEBUGGING -Duseithreads -Duse64bitall
../lib/warnings.t...........................................FAILED
    363

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.25   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/



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