issue-#121 compiler warning regarding unreleased register

Post Reply
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

issue-#121 compiler warning regarding unreleased register

Post 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
luowy
Posts: 234
Joined: Mon Oct 20, 2014 12:52 pm

Re: issue-#121 compiler warning regarding unreleased registe

Post by luowy »

good, your fixup is better than mine!
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#121 compiler warning regarding unreleased registe

Post by Ivan Denisov »

I think it is ready for voting.
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#121 compiler warning regarding unreleased registe

Post 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
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: issue-#121 compiler warning regarding unreleased registe

Post by DGDanforth »

Vote created.
Post Reply