Don <> changed:

           What    |Removed                     |Added
           Keywords|                            |patch
                 CC|                            |

--- Comment #1 from Don <> 2009-12-30 14:35:46 PST ---
The bug clearly lies in todt.c, inside 
dt_t **TypeSArray::toDtElem(dt_t **pdt, Expression *e).

If it's an array of structs, (ie, tbn->ty == Tstruct), then the 'e' value is
completely ignored!! This is certainly wrong.

Changing the two places where the check is:
    if (tbn->ty == Tstruct)
    if (tbn != e->type && tbn->ty == Tstruct)

allows the test case to pass.
But that may not be the correct criterion to use.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to