#7 Corrupted C output

closed
None
5
2006-02-27
2006-02-22
Mikko Kauppila
No

The following very simple sisal source (a solution to
the polynomial evaluator exercise of the sisal
tutorial) produces a corrupted C file. Basically,
function polyEvalMulti isn't included in the C file,
whereas polyEvalSingle is included there two times.

The astonishing thing is that replacing the recursive
pow function with something simpler, e.g a call to
pre-defined function exp, works correctly.

Endless sorries and a Thousand Years of Pain upon me if
it's just my own bug =)

Discussion

  • Mikko Kauppila
    Mikko Kauppila
    2006-02-22

    Here's the non-compiling program

     
    Attachments
  • Patrick Miller
    Patrick Miller
    2006-02-22

    • assigned_to: nobody --> patmiller
     
  • Patrick Miller
    Patrick Miller
    2006-02-22

    Logged In: YES
    user_id=30074

    I'll investigate and see if I can recreate -- Pat.

     
  • Patrick Miller
    Patrick Miller
    2006-02-27

    Logged In: YES
    user_id=30074

    The BuildFunctionTypes() method in if2yank
    incorrectly assumed the node ID was unique
    (but it had been cloned by some earlier step).
    This fix will be released with version 14.0.4

     
  • Patrick Miller
    Patrick Miller
    2006-02-27

    • status: open --> closed