Page 1 of 1

issue-#121 compiler warning regarding unreleased register

Posted: Tue Aug 09, 2016 2:57 pm
by Josef Templ
A bug in the register management of the CP compiler has been reported
in the community forum by Oleg N. Cher, cf.
http://community.blackboxframework.org/ ... t=128#p681.

For the issue see http://redmine.blackboxframework.org/issues/121.

A bug fix has been proposed by luowy.
I have checked the bug fix and corrected it slightly.

@luowy: the additional FreeHi must only be called if y.form is Int64.
All these checks and size reductions are done before the code generation
in the big CASE. I have moved it there.

For the diff see http://redmine.blackboxframework.org/pr ... 87783e090e.

- Josef

Re: issue-#121 compiler warning regarding unreleased registe

Posted: Tue Aug 09, 2016 4:06 pm
by luowy
good, your fixup is better than mine!

Re: issue-#121 compiler warning regarding unreleased registe

Posted: Wed Aug 10, 2016 6:25 am
by Ivan Denisov
I think it is ready for voting.

Re: issue-#121 compiler warning regarding unreleased registe

Posted: Wed Aug 10, 2016 10:19 am
by Josef Templ
me too.

For your information:
I have increased the issues limit from 100 to 200 in the meantime.
This is important because this issue is really above 100.

- Josef

Re: issue-#121 compiler warning regarding unreleased registe

Posted: Thu Aug 11, 2016 1:55 am
by DGDanforth
Vote created.