[Mono-dev] Possible bug in mini-ia64.c

Sergey Tikhonov tsv at solvo.ru
Tue Sep 19 12:13:52 EDT 2006


Hello Zoltan,

Could you take a look at "mono_arch_call_opcode" function in mini-ia64.c.
I copied the logic of passing value types in registers from ia64 version 
and it failed for me in one case.
We have loop there we analize arguments to pass. We use variable "i" as 
index.
If ainfo->storage = ArgAggregate it seems that we use the same "i" 
variable to loop through allocated nregs for value type.
This is where I went into infinitive loop. I changed nested loop to use 
another variable ("j") and it started to work.
Am I right?

Thank you,

-- 
Sergey Tikhonov

Solvo Ltd.
Saint-Petersburg, Russia
tsv at solvo.ru




More information about the Mono-devel-list mailing list