[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65304] bytecode compiler fails with VM error
From: |
Petter |
Subject: |
[Octave-bug-tracker] [bug #65304] bytecode compiler fails with VM error 5274 |
Date: |
Tue, 13 Feb 2024 17:49:53 -0500 (EST) |
Follow-up Comment #1, bug#65304 (group octave):
Thanks for the report. You hit the 255 argument limit for index operations. I
guess that it should be quite common to want to do that for those kind of
constellations, so the limit is probably too low.
I've made a patch that would support up to 2^16-1 arguments. I'll attach a wip
version that you could try, but I think there might be other opcodes that need
"many args" support, so I'll clean it up and see if I can find more places
that could be an issue. At least chained index operations e.g. "struct ( ..
many args .. ).qwe;" would need it too.
(file #55692)
_______________________________________________________
Additional Item Attachment:
File name: 33183.patch Size:3 KB
<https://file.savannah.gnu.org/file/33183.patch?file_id=55692>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-8523ddde37d79b56404205a28f13efda563b0104.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65304>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/