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

Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX

Thread Previous | Thread Next
Dave Mitchell
October 17, 2018 09:13
Re: [perl #133558] perl 5.26: use lib pragma issue in IBM AIX
Message ID:
On Wed, Oct 17, 2018 at 01:41:04PM +0530, Gururaj Kallur wrote:
> Sorry its typo.
> The configuration options used to compile perl 5.14.4, 5.22.0 and 5.26.1
> are same.
> I could not see issue in 5.14.4, 5.22.0. They are working fine.

I *think* its a C compiler bug relating to integer conversions and
promotions (but I've never fully understood them so I can't be sure).

In pp_hot.c, can you change the line which is two lines above the first
'DEBUG_q' line from

        inc = 1 - (PL_op->op_private & OPpITER_REVERSED);
        inc = (IV)1 - (IV)(PL_op->op_private & OPpITER_REVERSED);

recompile, and see what

    ./perl -Dq -le '@a = qw(/foo/bar); for (reverse @a) { print }'

gives you.

"Emacs isn't a bad OS once you get used to it.
It just lacks a decent editor."

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About