[perl #41606] [TODO] Add flag to do runtime check on deprecated ops

2008-06-30 Thread Will Coleda via RT
On Fri Jun 27 08:01:57 2008, coke wrote: On Thu Jun 26 22:21:22 2008, [EMAIL PROTECTED] wrote: On Thursday 26 June 2008 20:02:18 Will Coleda via RT wrote: Attached, find a patch that allows us to specify a :deprecated flag (post op, ala :flow). It also adds a new parrot warning

Re: [perl #56454] [BUG] Another -G bug. With PIR

2008-06-30 Thread chromatic
On Sunday 29 June 2008 18:17:16 luben karavelov wrote: The source of the program (dumb fibonacci numbers) is as follows: use v6; sub fib( $n ){ if ( $n 2 ) { $n; } else { fib($n-1)+fib($n-2); } } say fib(11); it dies with segmentation fault if run

[perl #56448] [BUG] tailcalls cause segfault when invoked from C

2008-06-30 Thread Andrew Johnson via RT
The segfault occurs inside clone_key_arg() inside src/inter_call.c (at line 871), which has the following leading POD description (committed by chromatic who also committed most of the implementation): Replaces any src registers by their values (done inside clone). This needs a test for

[perl #56458] Failure to promote RetContinuation objects

2008-06-30 Thread via RT
# New Ticket Created by Bob Rogers # Please include the string: [perl #56458] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56458 Every RetContinuation in the active call chain must be promoted to a full

Parrot Bug Summary

2008-06-30 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon Jun 30 13:00:01 2008 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with

[perl #56464] [BUG] comparison opcodes don't work on subclasses of Float

2008-06-30 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #56464] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56464 The islt, isle, isgt, and isge opcodes give the wrong results on subclasses

Re: [RFC] merge stack_common.c and stacks.c

2008-06-30 Thread Andrew Dougherty
On Sun, 29 Jun 2008, Andrew Whitworth wrote: There are a few other simplifications that I think can be made also. For instance, in calculating the size of a new Stack_Chunk_t, we use the convoluted equation size = sizeof(Stack_Entry_t) + offsetof(Stack_Chunk_t, u.data), which is much more

[perl #56464] [BUG] comparison opcodes don't work on subclasses of Float

2008-06-30 Thread Will Coleda via RT
On Mon Jun 30 06:26:57 2008, pmichaud wrote: The islt, isle, isgt, and isge opcodes give the wrong results on subclasses of Float. Here's the test case: $ cat y.pir .sub 'main' :main $P99 = subclass 'Float', 'MyFloat' $P0 = new 'MyFloat' $P0 = 1.1

[perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-06-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #56468] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56468 Now that we can subclass PMCs with Objects, we need to go through all the code in

[perl #56470] [CAGE] new perlcritic test gives verbose not installed diagnostics.

2008-06-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #56470] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56470 Find a perlcritic-sane way to silence this warning for codetest: Policy

[perl #56464] [BUG] comparison opcodes don't work on subclasses of Float

2008-06-30 Thread Will Coleda via RT
On Mon Jun 30 06:26:57 2008, pmichaud wrote: The islt, isle, isgt, and isge opcodes give the wrong results on subclasses of Float. Here's the test case: $ cat y.pir .sub 'main' :main $P99 = subclass 'Float', 'MyFloat' $P0 = new 'MyFloat' $P0 = 1.1

[perl #56470] [CAGE] new perlcritic test gives verbose not installed diagnostics.

2008-06-30 Thread Will Coleda via RT
On Mon Jun 30 07:53:20 2008, coke wrote: Find a perlcritic-sane way to silence this warning for codetest: Policy Perl::Critic::Policy::Bangs::ProhibitFlagComments is not installed. Fixed in r28867. -- Will Coke Coleda

[perl #56476] [TODO] [META] Make compilers/pirc the standard PIR compiler

2008-06-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #56476] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56476 This ticket can be used to track any issues (or plans) regarding the adoption of

The long long and The Short of It

2008-06-30 Thread Ron Blaschke
Given a regular x86 (GNU/Linux) box, using GCC 4.2.3, should the following produce a working Parrot, using 64-bit ints? perl Configure.pl --intval=long long int --opcode=long long int If fails for me on Cmake while building PGE. ../../parrot -o PGE.pbc --output-pbc PGE.pir ../../parrot

[perl #56484] Re: The long long and The Short of It

2008-06-30 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #56484] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56484 Any time we can produce a segfault, that's bad. CC'ing rt to get a ticket. On Mon,

Re: The long long and The Short of It

2008-06-30 Thread Will Coleda
Any time we can produce a segfault, that's bad. CC'ing rt to get a ticket. On Mon, Jun 30, 2008 at 3:55 PM, Ron Blaschke [EMAIL PROTECTED] wrote: Given a regular x86 (GNU/Linux) box, using GCC 4.2.3, should the following produce a working Parrot, using 64-bit ints? perl Configure.pl

Re: [perl #56484] Re: The long long and The Short of It

2008-06-30 Thread chromatic
On Monday 30 June 2008 13:00:37 Will Coleda wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #56484] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56484 Any time we can produce a

Re: [perl #56484] Re: The long long and The Short of It

2008-06-30 Thread Ron Blaschke
chromatic wrote: On Monday 30 June 2008 13:00:37 Will Coleda wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #56484] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56484 Any time we

Re: [perl #56484] Re: The long long and The Short of It

2008-06-30 Thread Andy Dougherty
On Mon, 30 Jun 2008, chromatic wrote: On Mon, Jun 30, 2008 at 3:55 PM, Ron Blaschke [EMAIL PROTECTED] wrote: Given a regular x86 (GNU/Linux) box, using GCC 4.2.3, should the following produce a working Parrot, using 64-bit ints? perl Configure.pl --intval=long long int

[perl #47674] [TODO] :vtable pragma should enable 'self'

2008-06-30 Thread Andrew Whitworth via RT
With some help from DietCoke, we got most of the problem solved. However, several tests are failing now, especially those dealing with overriding the invoke vtable method. One error specifically caught my eye, from t/pmc/namespace.t:1672: .sub 'main' :main $P0 = newclass 'Override' $P1 =

[perl #47674] [TODO] :vtable pragma should enable 'self'

2008-06-30 Thread Andrew Whitworth via RT
On Wed Nov 21 07:45:53 2007, [EMAIL PROTECTED] wrote: Setting the :vtable pragma on a sub should enable the 'self' shortcut for the current invocant. As in the following code example where a method is called from within a vtable override: .sub main :main $P1 = newclass Foo

Re: [perl #53976] [CAGE] Remove tools/dev/ops_renum.mak

2008-06-30 Thread Will Coleda
On Sun, Jun 22, 2008 at 1:05 PM, James Keenan via RT [EMAIL PROTECTED] wrote: On Sat Jun 21 07:16:56 2008, [EMAIL PROTECTED] wrote: [snip] (a) pull renum_op_map_file() out of Parrot::Ops2pm::Utils and into a subclass -- the better to emphasize that it's not part of the regular 'make'

Re: [perl #47674] [TODO] :vtable pragma should enable 'self'

2008-06-30 Thread Allison Randal
Andrew Whitworth via RT wrote: With some help from DietCoke, we got most of the problem solved. However, several tests are failing now, especially those dealing with overriding the invoke vtable method. One error specifically caught my eye, from t/pmc/namespace.t:1672: sub 'main' :main $P0

[perl #53976] [PATCH] Remove tools/dev/ops_renum.mak

2008-06-30 Thread James Keenan via RT
On Mon Jun 30 17:02:32 2008, coke wrote: In a fresh checkout, if I 'make renumberops' with no local modifications, src/ops/ops.num changes. With my non-fresh branch, I could not confirm this. If I rename the op store_lex to barf_lex, and run 'make renumberops', the opcode barf_lex doesn't

Re: [svn:parrot] r28876 - in branches/gsoc_pdd09: include/parrot src src/gc

2008-06-30 Thread chromatic
On Monday 30 June 2008 14:53:17 [EMAIL PROTECTED] wrote: Modified: branches/gsoc_pdd09/include/parrot/smallobject.h branches/gsoc_pdd09/src/gc/gc_it.c branches/gsoc_pdd09/src/gc/memory.c branches/gsoc_pdd09/src/headers.c Log: [gsoc_pdd09] add a few ugly but remarkably helpful

Re: [svn:parrot] r28867 - trunk/tools/util

2008-06-30 Thread chromatic
On Monday 30 June 2008 08:49:32 [EMAIL PROTECTED] wrote: Modified: trunk/tools/util/perlcritic.conf Log: Resolve RT# 56470; Tell perlcritic not to warn about uninstalled modules. Modified: trunk/tools/util/perlcritic.conf

Re: [perl #55954] [PATCH]: Add 'make smolder_test' target

2008-06-30 Thread chromatic
On Wednesday 18 June 2008 07:42:00 Michael Peters wrote: It seems that archname was not defined in $PConfig, so I just used cpuarch. I also changed $^X to be $PConfig{osname}. The fixed patch is attached. I also noticed that I didn't include the new Test::Harness in that patch. So I've

Re: [perl #55620] [PATCH] Fix crash in src/ops/object.ops

2008-06-30 Thread chromatic
On Wednesday 11 June 2008 12:48:51 NotFound via RT wrote: Another attempt: this is a minimalistic change that does not broke any test in parrot nor in rakudo, and can avoid segfaulting in other related usages. Thanks, applied with a test in r28884. I tried to add an exception in NameSpace's