Leopold Toetsch wrote:
Nick Glencross wrote:
(I'm reposting this because I'm not sure what happened to the one that
I sent to parrotbugs; forgive me if two eventually appear)
Folks,
There seems to be some problems with -O1 when instructions are
optimised at the end of functions.
Fixed, thanks for testing.
Hmmm... Not seeing any improvement at my end ...
In what is semi-related to this, if a deleted instruction (e.g.
$I0+=0) is at the end of a function, you get a core dump in
imcc/optimiser.c in this line (because ins is NULL):
ins = ins->prev ? ins->prev : unit->instructions;
Fixed too rev 8227
That ones certainly much happier! Brilliant.
Nick