[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiler bug?
From: |
Jose E. Marchesi |
Subject: |
Re: compiler bug? |
Date: |
Mon, 02 Dec 2019 11:17:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi John.
Loading this Poke program:
deftype xxx = struct
{
char[2] c;
};
defun sum = (offset<int, xxx> input) void:
{
defvar h = xxx @ input + 0#xxx;
}
causes poke to assert with:
/home/john/SRC/poke/src/pkl-typify.c:515: pkl_typify1_ps_add:
Assertion `PKL_AST_CODE (unit_type_2) == PKL_AST_INTEGER' failed.
Yes, that's a compiler bug. I have a branch on progress with fixes
related to offsets, that should fix this as well.
- compiler bug?, John Darrington, 2019/12/01
- Re: compiler bug?,
Jose E. Marchesi <=