develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #55302] cc_runtime syntax error

Thread Previous
From:
Steve Peters
Date:
June 5, 2008 06:19
Subject:
Re: [perl #55302] cc_runtime syntax error
Message ID:
fd7a59d30806050619i233f6181jfb71e0f9aa234dd8@mail.gmail.com
On Wed, Jun 4, 2008 at 3:53 PM, via RT Reini Urban
<perlbug-followup@perl.org> wrote:
> # New Ticket Created by  Reini Urban
> # Please include the string:  [perl #55302]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55302 >
>
>
> This is a bug report for perl from rurban@x-ray.at,
> generated with the help of perlbug 1.36 running under perl 5.10.0.
>
>
> -----------------------------------------------------------------
> Syntax error when using B::CC with threads and eval.
> This exists for some years. Because we never had B::CC tests.
>
> Patch for blead and 5.10.x and 5.8.9
>
> diff -u cc_runtime.h.orig cc_runtime.h
> --- cc_runtime.h.orig   2007-12-18 11:47:07.000000000 +0100
> +++ cc_runtime.h        2008-06-04 22:18:26.625000000 +0200
> @@ -54,7 +54,7 @@
>        switch (ret) {                          \
>        case 0:                                 \
>            PL_op = ppaddr(aTHX);               \
> -           if (PL_op != nxt) CALLRUNOPS();     \
> +           if (PL_op != nxt) CALLRUNOPS(aTHX); \
>            JMPENV_POP;                         \
>            break;                              \
>        case 1: JMPENV_POP; JMPENV_JUMP(1);     \
>

Thanks!  This was applied as change #34002.

Steve Peters
steve@fisharerojo.org

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