develooper Front page | perl.perl6.internals | Postings from August 2002

[perl #16838] [PATCH] oops ops

From:
Leopold Toetsch
Date:
August 29, 2002 03:51
Subject:
[perl #16838] [PATCH] oops ops
Message ID:
rt-16838-35992.4.36680838446549@bugs6.perl.org
# New Ticket Created by  Leopold Toetsch 
# Please include the string:  [perl #16838]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=16838 >


Hi,

during hacking on imcc and testing with life.p6 I found wrong core.ops 
of type:

inline op <binary> (out PMC, out PMC, out PMC)

add is ok, broken are mul, div, mod, sub, concat.

Attached patch + make && make shared helps.
Please apply.

TIA,
leo

PS: imcc uses the IN/OUT/INOUT information for life analysis of symbols. 
With improved register allocation above bugs emerged.

PPS: all tests still pass.


-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/35992/29114/74a267/core.ops.diff




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