You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
symbolics_11.py and symbolics_14.py produce invalid code #2469
To fix this, here is a reference code that does the right thing: #2465, so all we need to do now is to ensure the symbolic pass is generating the same ASR as symbolics_15 does.
In particular, instead of a simple assignment, it needs to call basic_assign, and first it needs to initialize constname0.data[3] on heap, just like in symbolics_15.
Activity
certik commentedon Jan 31, 2024
Exactly the same problem is in
symbolics_11.py:[-]symbolics_14.py produces invalid code[/-][+]symbolics_11.py and symbolics_14.py produce invalid code[/+]certik commentedon Jan 31, 2024
To fix this, here is a reference code that does the right thing: #2465, so all we need to do now is to ensure the symbolic pass is generating the same ASR as
symbolics_15does.In particular, instead of a simple assignment, it needs to call
basic_assign, and first it needs to initializeconstname0.data[3]on heap, just like insymbolics_15.anutosh491 commentedon Feb 8, 2024
Can be closed as the issue has been correctly fixed through #2465 & #2477