public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/10343] gdb selects wrong function overload
[not found] <bug-10343-4717@http.sourceware.org/bugzilla/>
@ 2010-10-05 18:53 ` swagiaal at redhat dot com
2011-11-18 16:17 ` tromey at redhat dot com
1 sibling, 0 replies; 6+ messages in thread
From: swagiaal at redhat dot com @ 2010-10-05 18:53 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=10343
Sami Wagiaalla <swagiaal at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |12098
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/10343] gdb selects wrong function overload
[not found] <bug-10343-4717@http.sourceware.org/bugzilla/>
2010-10-05 18:53 ` [Bug c++/10343] gdb selects wrong function overload swagiaal at redhat dot com
@ 2011-11-18 16:17 ` tromey at redhat dot com
1 sibling, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2011-11-18 16:17 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=10343
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|6.8 |7.2
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-11-18 16:16:55 UTC ---
This works for me now. I think Sami's overload changes fixed
the bugs in this area.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/10343] gdb selects wrong function overload
2009-06-29 10:24 [Bug c++/10343] New: " andre dot poenitz at nokia dot com
` (2 preceding siblings ...)
2010-07-23 14:56 ` swagiaal at redhat dot com
@ 2010-07-26 18:26 ` swagiaal at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: swagiaal at redhat dot com @ 2010-07-26 18:26 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware dot|swagiaal at redhat dot com
|org |
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=10343
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/10343] gdb selects wrong function overload
2009-06-29 10:24 [Bug c++/10343] New: " andre dot poenitz at nokia dot com
2010-01-22 21:43 ` [Bug c++/10343] " tromey at redhat dot com
2010-01-25 17:54 ` tromey at redhat dot com
@ 2010-07-23 14:56 ` swagiaal at redhat dot com
2010-07-26 18:26 ` swagiaal at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: swagiaal at redhat dot com @ 2010-07-23 14:56 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |swagiaal at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10343
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/10343] gdb selects wrong function overload
2009-06-29 10:24 [Bug c++/10343] New: " andre dot poenitz at nokia dot com
2010-01-22 21:43 ` [Bug c++/10343] " tromey at redhat dot com
@ 2010-01-25 17:54 ` tromey at redhat dot com
2010-07-23 14:56 ` swagiaal at redhat dot com
2010-07-26 18:26 ` swagiaal at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2010-01-25 17:54 UTC (permalink / raw)
To: gdb-prs
------- Additional Comments From tromey at redhat dot com 2010-01-25 17:54 -------
I looked into this a little.
The bug is that gdb does not properly implement all the overloading rules.
In particular, in this case, rank_one_type recurses for pointer types.
This leads it to believe that char* is convertible to int*, because
there is a char->int conversion.
I think it would be simple to fix this particular failure, but there are others
lurking. For example, baseclass conversions are ordered by distance, but
rank_one_type does not do this.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
Last reconfirmed|2010-01-22 21:43:31 |2010-01-25 17:54:14
date| |
http://sourceware.org/bugzilla/show_bug.cgi?id=10343
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/10343] gdb selects wrong function overload
2009-06-29 10:24 [Bug c++/10343] New: " andre dot poenitz at nokia dot com
@ 2010-01-22 21:43 ` tromey at redhat dot com
2010-01-25 17:54 ` tromey at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: tromey at redhat dot com @ 2010-01-22 21:43 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2010-01-22 21:43:31
date| |
http://sourceware.org/bugzilla/show_bug.cgi?id=10343
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-18 16:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-10343-4717@http.sourceware.org/bugzilla/>
2010-10-05 18:53 ` [Bug c++/10343] gdb selects wrong function overload swagiaal at redhat dot com
2011-11-18 16:17 ` tromey at redhat dot com
2009-06-29 10:24 [Bug c++/10343] New: " andre dot poenitz at nokia dot com
2010-01-22 21:43 ` [Bug c++/10343] " tromey at redhat dot com
2010-01-25 17:54 ` tromey at redhat dot com
2010-07-23 14:56 ` swagiaal at redhat dot com
2010-07-26 18:26 ` swagiaal at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).