Skip to content

Bugfix/const arr crash#179

Merged
boriel merged 7 commits intomasterfrom
bugfix/const_arr_crash
Nov 15, 2018
Merged

Bugfix/const arr crash#179
boriel merged 7 commits intomasterfrom
bugfix/const_arr_crash

Conversation

@boriel
Copy link
Copy Markdown
Collaborator

@boriel boriel commented Nov 15, 2018

No description provided.

Bump version: 1.8.7 → 1.8.8

Approved-by: Jose Rodriguez <boriel@gmail.com>
Defining a var like DIM p = @A(3, 4) being var a an
array crashed the compiler. Fixed.
This one checks the array element position is correctly
computed (chained multiplication).
The flag --debug-array emited wrong code.
The Array calculation routine has been optimized (a little) and
now does the check correctly.

Also de translator was not correctly emiting the IC.
Note that both #pragma and #define must be used since
the array checking requires such define that might not be
declared at the beginning.
@boriel boriel merged commit 8374739 into master Nov 15, 2018
@boriel boriel deleted the bugfix/const_arr_crash branch November 15, 2018 00:10
boriel added a commit that referenced this pull request Nov 15, 2018
Feature/base org hexa

Approved-by: Jose Rodriguez <boriel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant