libjit
[
Top
][
All Lists
]
Advanced
[Date Prev][
Date Next
][Thread Prev][
Thread Next
][
Date Index
][
Thread Index
]
Possible bug when optimizing function using branch_if / branch_if_not
From
:
Fabrice Leal
Subject
:
Possible bug when optimizing function using branch_if / branch_if_not
Date
:
Fri, 10 Jun 2022 12:39:28 +0100
I think i hit a possible bug in the_jit_block_clean_cfg(jit_function_t) function.
At
http://git.savannah.gnu.org/cgit/libjit.git/tree/jit/jit-block.c#n948
opcode may be 126 (JIT_OP_BR_IFALSE) or 127 (JIT_OP_BR_ITRUE) and this call will crash the function compilation (
http://git.savannah.gnu.org/cgit/libjit.git/tree/jit/jit-block.c#n821
).
For reference it is crashing with this function:
https://pastebin.com/aHQ5mNLw
but if i exchange .L0 and .L1 it works well:
https://pastebin.com/L42fKbqg
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Possible bug when optimizing function using branch_if / branch_if_not
,
Fabrice Leal
<=
Re: Possible bug when optimizing function using branch_if / branch_if_not
,
Aleksey Demakov
,
2022/06/14
Next by Date:
Re: Possible bug when optimizing function using branch_if / branch_if_not
Next by thread:
Re: Possible bug when optimizing function using branch_if / branch_if_not
Index(es):
Date
Thread