develooper Front page | perl.perl5.porters | Postings from July 2013

Re: [perl #97942] [PATCH] Add -DO option to disable optimizationsand disable constant folding and the peephole optimizer when used.

Thread Previous
From:
Niels Thykier
Date:
July 27, 2013 08:04
Subject:
Re: [perl #97942] [PATCH] Add -DO option to disable optimizationsand disable constant folding and the peephole optimizer when used.
Message ID:
51F37F0D.4070208@thykier.net
> On Thu Jul 18 07:01:20 2013, niels@thykier.net wrote:
>> Hi,
>> 
>> Some of these failures are caused by the mere presence of "-D" or "-Dq"
>> in PERL5OPT(_TEST).  I have attached a patch for these tests.
>> 
>> I also rebased the original patch against the current blead.
> 
> Thank you.
> 
> Why does adding -DO to the runperl command line make things pass in the
> presence of PERL5OPT=-DO?  Would not the runperl output be the same
> either way?
> 
> -- 

To be honest, I have no clue why the tests breaks with containing -D
PERL5OPT when they are also passed a "-D" on the command line (or why
relocating them to cmd-line seem to "fix" it).

~Niels



Thread Previous


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