This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
For expressions, casting one reference to another is OK; casting a reference to a non-reference is also fine. Only non-reference to reference is trouble.
I replied to that.The new error is incorrect, which does suggest some missing tests. You can cast from a reference type; value_cast follows references, so an int is just like an int &.
Like Michael, I don't understand the value.c changes. Could you explain them?
What about the changes to coerce_array?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |