nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

formline ~~ fails with -O3 t/CORE/op/write.t #284

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm investigating further. This is the initial problem

$>perl -MO=-qq,C,-O3,-fno-fold,-owrite.c t/CORE/op/write.t 
Can't locate object method "PV" via package "B::IV" at 
/usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib/i386-linux-64int-debug/
B/C.pm line 1258.
CHECK failed--call queue aborted.

Original issue reported on code.google.com by todd.e.rinaldo on 30 Jan 2014 at 9:59

GoogleCodeExporter commented 9 years ago
Actually I'm not going to be able to debug this further but it looks related to 
the fix for the ~~ format code, right?

Original comment by todd.e.rinaldo on 30 Jan 2014 at 10:04

GoogleCodeExporter commented 9 years ago
yes, it's the ~~ special-case which should have been fixed with 1.43_01 but is 
not yet fully.
I'll add a can("PV") check to this formline arg.

It's failing in test 2 when extending "^<<<<<<<<< ~~\n"

Original comment by reini.urban on 30 Jan 2014 at 11:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed with commit e5e1354a77ddd79b9cbbd82875587463037cf878
Author: Reini Urban <rurban@cpanel.net>
Date:   Fri Jan 31 09:41:23 2014 -0600

    fix #284 formline ~ -O3 for multiple args

    formline can take multiple args with pushmark,
    cycle through all and check for all const svs

Original comment by reini.urban on 31 Jan 2014 at 3:45