bugs: multiple assignment & unresolved symbols .Lexit_

Christof Douma <[email protected]>
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
Hello,

I came accros two bugs in "Quick C-- Version 20050328".

---- 
In the language specification the semantics of multiple assignment
states to calculate first all rhs & addresses before assigning.

But the following assignment breaks:

x, hp, bits32[hp], bits32[hp+4] = hp, hp+8, a, b

This should allocate a tuple (a,b) on the heap and assign it's location
to x. The addresses of the lhs are calculated with the new value of hp.

----
A case as the last statment results in an unresolved reference .Lexit_<number>.
No code jumps to this code block, but the code is emitted. 

I attached an example.

--
regards,
Christof Douma
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.