Re: regression on zOS between 5.4.8 to 5.5.0 on zOS

Roberto Ierusalimschy <[email protected]>
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
> 2. Older Nvidia C/C++ compilers (e.g., nvc 22.11-0) struggled with
> overlapping assignments in lcode.c (even with [4] applied).

There is another "overlapping assignment" in lcode.c. In function
'luaK_indexed', there is this assignment:

  t->u.ind.t = cast_byte(t->u.var.ridx);

Although the field u.ind.t does not overlap with u.var.ridx, the field
u.ind (the enclosing structure) overlaps with u.var. Technically that
should be correct, but maybe it causes problems for a buggy compiler.
(Just in case, commit 8164d093 added an intermediate variable into that
assignment.)

Maybe there are other undetected overlapping assignments in lcode.c;
it uses a lot the structure 'expdesc', and it does several assignments
among the fields of that structure.

-- Roberto

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/20260207180759.GA33418%40arraial.inf.puc-rio.br.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.