diff options
author | Sami Wagiaalla <swagiaal@redhat.com> | 2010-10-14 16:13:43 +0000 |
---|---|---|
committer | Sami Wagiaalla <swagiaal@redhat.com> | 2010-10-14 16:13:43 +0000 |
commit | 7062b0a0dfe70957e9cb04749efb627a3032c3f2 (patch) | |
tree | 304772526bc6562280716509edb63433a0bc3eab /gdb/gdb.1 | |
parent | 5c3da5ea2ef28d1f272e737e5165d671149291a0 (diff) | |
download | gdb-7062b0a0dfe70957e9cb04749efb627a3032c3f2.zip gdb-7062b0a0dfe70957e9cb04749efb627a3032c3f2.tar.gz gdb-7062b0a0dfe70957e9cb04749efb627a3032c3f2.tar.bz2 |
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 'gdb/gdb.1')
0 files changed, 0 insertions, 0 deletions