Re: problem with euc on Win10 64bit AND Mint 32bit

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mysteries of what is going on with gdb aside, by solely inspecting you can see a problem at the end of the translated Bin routine where there is code after the return statement.but no label. There is no way to reach the second return. My guess is there is a forgotten NOP that needs to be emited in the translated version related to tail recursion. This kind of thing illustrates that although euphoria code is converted to a kind of intermediate language before translation and interpretation this intermediate language is not the same for both the interpreter and the translator. I say it ought to be though. There is a program for displaying this intermediate language called eudis, and it could simplify things a lot if NOP was supported by the interpreter and the translator always generated them.

    /** t_bugmagnet_15a.e:10	  if length(s) = 0 then */ 
    _6224 = 0; 
 
    /** t_bugmagnet_15a.e:11	   return to_integer("0") */ 
    RefDS(_6226); 
    _6227 = _6to_integer(_6226, 0); 
    DeRefDS(_s_11028); 
    return _6227; 
 
    /** t_bugmagnet_15a.e:13	  return to_integer(s) */ 
    RefDS(_s_11028); 
    _6228 = _6to_integer(_s_11028, 0); 
    DeRefDS(_s_11028); 
    DeRef(_6227); 
    _6227 = NOVALUE; 
    return _6228; 

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu