mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 03:54:27 +00:00
discovered crash about storage size mismatch
This commit is contained in:
parent
c8a4b6f23c
commit
4cb383dccb
@ -5,6 +5,11 @@ For next compiler release (7.3)
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
- if-statement expression simplification sometimes increases code size (Petaxian) FIX THIS!
|
- if-statement expression simplification sometimes increases code size (Petaxian) FIX THIS!
|
||||||
- add expression simplification to while and until loops as well.
|
- add expression simplification to while and until loops as well.
|
||||||
|
- fix crash about storage size mismatch
|
||||||
|
ubyte bb
|
||||||
|
uword ww
|
||||||
|
bb = not bb or not ww ; CRASHES
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Blocked by Commander-x16 v39 release
|
Blocked by Commander-x16 v39 release
|
||||||
|
@ -8,13 +8,12 @@ main {
|
|||||||
|
|
||||||
ubyte unused ; TODO FIX : why is this not removed as an unused variable?
|
ubyte unused ; TODO FIX : why is this not removed as an unused variable?
|
||||||
|
|
||||||
ubyte iteration_in_progress
|
ubyte bb
|
||||||
uword num_bytes
|
uword ww
|
||||||
|
bb = not bb or not ww ; TODO FIX COMPILER CRASH (STORAGE SIZE)
|
||||||
|
|
||||||
ubyte qq = not iteration_in_progress or not num_bytes ; TODO FIX COMPILER CRASH (STORAGE SIZE)
|
; if not iteration_in_progress or not num_bytes
|
||||||
|
; return
|
||||||
if not iteration_in_progress or not num_bytes
|
|
||||||
return
|
|
||||||
|
|
||||||
; word xx=0
|
; word xx=0
|
||||||
; word[] xarr = [1,2,3]
|
; word[] xarr = [1,2,3]
|
||||||
|
Loading…
Reference in New Issue
Block a user