Ticket #1209 (closed bug: fixed)
parrot -O Fails Tests
Reported by: | dukeleto | Owned by: | chromatic |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | imcc | Version: | 1.7.0 |
Severity: | medium | Keywords: | testing |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Currently we can't run Parrot with certain IMCC optimizations (by setting TEST_PROG_ARGS, for example, or hacking t/harness because the optimization somehow removes useful context information printed in the Parrot backtrace.
$ ./parrot -O t/compilers/imcc/syn/const_24.pir Null PMC access in get_string()
$ ./parrot t/compilers/imcc/syn/const_24.pir Null PMC access in get_string() current instr.: 'main' pc 5 (t/compilers/imcc/syn/const_24.pir:11)
The difference lies somewhere in Parrot_Context_get_info(), I believe.
I don't have the time or capacity to track this down tonight; I was tracking down a potential bug in the IMCC optimizer and thought it would be nice to see if any tests fail with optimizations.
-- c
This used to be tracked at http://rt.perl.org/rt3/Ticket/Display.html?id=50894