diff options
author | swagiaal <swagiaal> | 2010-10-14 16:13:35 +0000 |
---|---|---|
committer | swagiaal <swagiaal> | 2010-10-14 16:13:35 +0000 |
commit | 0dec04cd391afbd7848a83092d1fbfc5dfbdb0e1 (patch) | |
tree | aac1ca7e77443c891707cff66f58b1341beb03ad /opcodes/frv-asm.c | |
parent | 715c8705f637e8505d601c1ccf86fc3e00d58c95 (diff) | |
download | gdb-0dec04cd391afbd7848a83092d1fbfc5dfbdb0e1.tar.gz |
Fixed void* vs int* overload issue (PR C++/10343).
2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
* gdbtypes.h: Create BASE_PTR_CONVERSION_BADNESS.
* gdbtypes.c (rank_one_type): Move type comparison code out of here
to...
(types_equal): ...here. And changed it as follows:
Outside of typedefs type must be of the same TYPE_CODE.
When compairing two pointers or references they are equal if their
targets are equal.
Correct pointer conversions.
2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/converts.cc: New test program.
* gdb.cp/converts.exp: New test.
* gdb.cp/overload.exp: Added test for void* vs int*.
* gdb.cp/overload.exp: Ditto.
* gdb.cp/oranking.exp: Removed related kfail.
Diffstat (limited to 'opcodes/frv-asm.c')
0 files changed, 0 insertions, 0 deletions