# New Ticket Created by Peter Sinnott # Please include the string: [perl #36086] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36086 >
--- osname= freebsd osvers= 5.2.1-release-p1 arch= i386-freebsd-64int cc= cc --- Flags: category=core severity=medium ack=no --- When running t/op/trans.t using the jit it fails. When not using jit it passes I think the problem may be with the macro as set N1, 1.0 sinh N2, N1 .fp_eq (N2, 1.175201, EQ1) print "not " EQ1: print "ok 1\n" set I1, 1 sinh N2, I1 print "N2 = " print N2 print "\n" .fp_eq (N2, 1.175201, EQ2) print "not " EQ2: print "ok 2\n" prints -bash-2.05b$ ./parrot a.pasm ok 1 N2 = 1.175201 ok 2 -bash-2.05b$ ./parrot -j a.pasm ok 1 N2 = nan not ok 2 but set I1, 1 sinh N2, I1 print "N2 = " print N2 print "\n" .fp_eq (N2, 1.175201, EQ0) print "not " EQ0: print "ok 0\n" set N1, 1.0 sinh N2, N1 .fp_eq (N2, 1.175201, EQ1) print "not " EQ1: print "ok 1\n" set I1, 1 sinh N2, I1 print "N2 = " print N2 print "\n" .fp_eq (N2, 1.175201, EQ2) print "not " EQ2: print "ok 2\n" prints -bash-2.05b$ ./parrot aa.pasm N2 = 1.175201 ok 0 ok 1 N2 = 1.175201 ok 2 -bash-2.05b$ ./parrot -j aa.pasm N2 = 1.175201 ok 0 not ok 1 N2 = nan not ok 2 -bash-2.05b$ perl t/harness --gc-debug --running-make-test -C t/op/trans.t t/op/trans....ok All tests successful. Files=1, Tests=19, 2 wallclock secs ( 0.99 cusr + 0.72 csys = 1.71 CPU) -bash-2.05b$ perl t/harness --gc-debug --running-make-test -S t/op/trans.t t/op/trans....ok All tests successful. Files=1, Tests=19, 2 wallclock secs ( 1.01 cusr + 0.71 csys = 1.72 CPU) -bash-2.05b$ perl t/harness --gc-debug --running-make-test -g t/op/trans.t t/op/trans....ok All tests successful. Files=1, Tests=19, 2 wallclock secs ( 1.06 cusr + 0.65 csys = 1.71 CPU) -bash-2.05b$ perl t/harness --gc-debug --running-make-test -j t/op/trans.t t/op/trans....NOK 10 # Failed test (t/op/trans.t at line 247) # got: 'ok 1 # not ok 2 # ' # expected: 'ok 1 # ok 2 # ' t/op/trans....NOK 11 # Failed test (t/op/trans.t at line 267) # got: 'ok 1 # not ok 2 # ' # expected: 'ok 1 # ok 2 # ' t/op/trans....NOK 18 # Failed test (t/op/trans.t at line 502) # got: 'not ok 1 # not ok 2 # not ok 3 # not ok 4 # not ok 5 # not ok 6 # ok 7 # ok 8 # ok 9 # ok 10 # not ok 11 # ok 12 # ok 13 # ok 14 # not ok 15 # ok 16 # ' # expected: 'ok 1 # ok 2 # ok 3 # ok 4 # ok 5 # ok 6 # ok 7 # ok 8 # ok 9 # ok 10 # ok 11 # ok 12 # ok 13 # ok 14 # ok 15 # ok 16 # ' t/op/trans....ok 19/19# Looks like you failed 3 tests of 19. t/op/trans....dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 10-11, 18 Failed 3/19 tests, 84.21% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/op/trans.t 3 768 19 3 15.79% 10-11 18 Failed 1/1 test scripts, 0.00% okay. 3/19 subtests failed, 84.21% okay. --- Summary of my parrot 0.2.0 (r0) configuration: configdate='Wed Jun 1 22:50:48 2005' Platform: osname=freebsd, archname=i386-freebsd-64int jitcapable=1, jitarchname=i386-freebsd, jitosname=FREEBSD, jitcpuarch=i386 execcapable=1 perl=perl Compiler: cc='cc', ccflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -pipe -I/usr/local/include', Linker and Libraries: ld='cc', ldflags=' -Wl,-E -L/usr/local/lib', cc_ldflags='', libs='-lm -lcrypt -lutil -lc_r' Dynamic Linking: share_ext='.so', ld_share_flags='-shared -L/usr/local/lib', load_ext='.so', ld_load_flags='-shared -L/usr/local/lib' Types: iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4, ptrsize=4, ptr_alignment=1 byteorder=1234, nv=double, numvalsize=8, doublesize=8 --- Environment: HOME LANG LANGUAGE LD_LIBRARY_PATH LOGDIR PATH SHELL