develooper Front page | perl.perl5.porters | Postings from December 2000

[ID 20001215.001] new arithmetic fails on irix

Thread Next
From:
Helmut Jarausch
Date:
December 15, 2000 03:06
Subject:
[ID 20001215.001] new arithmetic fails on irix
Message ID:
200012151106.MAA40712@numa1.igpm.rwth-aachen.de

This is a bug report for perl from jarausch@igpm.rwth-aachen.de,
generated with the help of perlbug 1.33 running under perl v5.7.0.


-----------------------------------------------------------------
[Please enter your report here]

The new arithmetic fails 

op/inc.t
..test 3 got -2147483648 (instead of 2147483648)
FAILED at test 3

and
op/numconvert.t
FAILED at test 13  (some debug output)

print STDERR "got_ans0 : $ans[0] ($max_uv_pp)  got_ans1 : $ans[1] ($max_uv_p1)\n";
just before $nok++

got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 1 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 1 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 1 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 1 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 1 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4.29497e+09 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : 4294967295 (4294967296)
got_ans0 : 0 (4294967296)  got_ans1 : -1 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 1 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 1 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4.29497e+09 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : 4294967295 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)
got_ans0 : -1 (4294967296)  got_ans1 : 0 (4294967296)

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl v5.7.0:

Configured by jarausch at Mon Dec 11 11:02:14 CST 2000.

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=irix, osvers=6.5, archname=IP26-irix
    uname='irix64 numa1 6.5 07201611 ip26 '
    config_args='-Dcc=cc -Dprefix=/usr/LOCAL -Dlocincpth=/usr/LOCAL/include -Dloclibpth=/usr/LOCAL/lib'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-D_BSD_TYPES -D_BSD_TIME -I/usr/LOCAL/include -DLANGUAGE_C',
    optimize='-O3 -OPT:Olimit=0:space=on -mips4',
    cppflags='-D_BSD_TYPES -D_BSD_TIME -I/usr/LOCAL/include -DLANGUAGE_C'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-woff,84 -L/usr/LOCAL/lib'
    libpth=/usr/LOCAL/lib /usr/lib32 /lib32
    libs=-lgdbm -ldb -lm -lc
    perllibs=-lm -lc
    libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-rpath,/usr/LOCAL/lib/perl5/5.7.0/IP26-irix/CORE'
    cccdlflags='-KPIC', lddlflags='-shared -L/usr/LOCAL/lib'

Locally applied patches:
    DEVEL8101

---
@INC for perl v5.7.0:
    /usr/LOCAL/lib/perl5/5.7.0/IP26-irix
    /usr/LOCAL/lib/perl5/5.7.0
    /usr/LOCAL/lib/perl5/site_perl/5.7.0/IP26-irix
    /usr/LOCAL/lib/perl5/site_perl/5.7.0
    /usr/LOCAL/lib/perl5/site_perl
    .

---
Environment for perl v5.7.0:
    HOME=/usr/people/jarausch
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:/usr/people/jarausch/bin:/usr/PRIVATE/bin:/usr/LOCAL/bin:/usr/LOCAL/teTeX/bin:/usr/bin:/usr/java/bin:/usr/bsd:/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin/X11:/usr/sbin:/usr/demos/bin
    PERL_BADLANG (unset)
    SHELL=/bin/zsh


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