Thu 23 Jan 2003 08:27:25 AM UTC, comment #4:
I have removed the #line directives from cs_semantics.c
because the debugged does not like them.
I tell you, the GetIndirectConvertRules is way to complex
it needs to be cleaned up! I think that would be a good start for me.
the parameters are :
{programItem = {image = 0x8112920, token = 33554434, linked = 0, attrsOrLink = 0x0}, attributes = 1, name = 0x8113548 "Integer", namespace = 0x0, parent = 0x400120cc, implements = 0x0, firstMember = 0x4001218c, lastMember = 0x4001220c, nestedChildren = 0x0, scope = 0x40012004, synthetic = 0x0, ext = 0x0, userData = 0x8171710}
the second one
{programItem = {image = 0x8112920, token = 16777218, linked = 1, attrsOrLink = 0x40012374}, attributes = 2147483648,
<mdupont> name = 0x811357a "Int32", namespace = 0x8113541 "System", parent = 0x0, implements = 0x0, firstMember = 0x0, lastMember = 0x0, nestedChildren = 0x0, scope = 0x40012094, synthetic = 0x0, ext = 0x0, userData = 0x0}
you can see,
arg1 is Integer, arg2 to is Int32,
not a uint as in the code.
back trace (with line numbers)
#0 GetIndirectConvertRules (info=0x8110720, fromType=0x8171960, toType=0x21, explicit=1073815830, kinds=1, rules1=0x80d616f,
rules2=0x40012116, itype1=0x21, itype2=0x8171b34) at cg_coerce.c:548
#1 0x0805110e in ILNode_SemAnalysis_94__ (node=0x8171980, info=0x8110720, parent=0x81719ac) at cs_semantics.c:5801
#2 0x080566d4 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0x40017094) at cs_semantics.c:9786
#3 0x080577c7 in CSSemExpectValue (node=0x8171980, info=0x8110720, parent=0x81719ac, value=0xbffff520) at cs_semantics.c:11112
#4 0x080518f0 in ILNode_SemAnalysis_109__ (node=0x8171998, info=0x8110720, parent=0xbffff5cc) at cs_semantics.c:6084
#5 0x080567de in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:9876
#6 0x0804d332 in StmtSem (node=0x8171998, info=0x8110720, parent=0xbffff5cc) at cs_semantics.c:3227
#7 0x08053249 in ILNode_SemAnalysis_152__ (node=0x8171ac8, info=0x8110720, parent=0xbffff66c) at cs_semantics.c:7067
#8 0x08056e28 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10135
#9 0x0804d332 in StmtSem (node=0x8171ac8, info=0x8110720, parent=0xbffff66c) at cs_semantics.c:3227
#10 0x08053249 in ILNode_SemAnalysis_152__ (node=0x8171af0, info=0x8110720, parent=0x8171b2c) at cs_semantics.c:7067
#11 0x08056e28 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10135
#12 0x0804d332 in StmtSem (node=0x8171af0, info=0x8110720, parent=0x8171b2c) at cs_semantics.c:3227
#13 0x08054396 in ILNode_SemAnalysis_172__ (node=0x8171b18, info=0x8110720, parent=0x8171b5c) at cs_semantics.c:7746
#14 0x08056d9c in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10255
#15 0x08055822 in ILNode_SemAnalysis_192__ (node=0x8171b34, info=0x8110720, parent=0xbffff80c) at cs_semantics.c:8685
#16 0x08056eec in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10375
#17 0x0804d332 in StmtSem (node=0x8171b34, info=0x8110720, parent=0xbffff80c) at cs_semantics.c:3227
#18 0x08053249 in ILNode_SemAnalysis_152__ (node=0x8171b6c, info=0x8110720, parent=0x8171d30) at cs_semantics.c:7067
#19 0x08056e28 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10135
#20 0x08055145 in ILNode_SemAnalysis_187__ (node=0x6, info=0x8110720, parent=0x8171cac) at cs_semantics.c:8310
#21 0x08056ea6 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10345
#22 0x08054eb5 in ILNode_SemAnalysis_186__ (node=0x8171c80, info=0x8110720, parent=0xbffff9cc) at cs_semantics.c:8205
#23 0x08056e98 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10339
#24 0x0804d332 in StmtSem (node=0x8171c80, info=0x8110720, parent=0xbffff9cc) at cs_semantics.c:3227
#25 0x08053249 in ILNode_SemAnalysis_152__ (node=0x8171d34, info=0x8110720, parent=0x81107f0) at cs_semantics.c:7067
#26 0x08056e28 in ILNode_SemAnalysis (node__=0x6, info=0x8110720, parent=0xc4) at cs_semantics.c:10135
#27 0x080493f9 in CCPluginSemAnalysis () at cs_main.c:80
|