This is the mail archive of the gdb@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]

Re: Issue with printing binary operator overloaded function on GDB 7.2


Keith Seitz <keiths@redhat.com> writes:

> On 12/22/2010 11:53 PM, viju vincent wrote:
>
>>   * From GDB log
>> {{{
>>     print base::operator!=
>> $17 = {bool (const base * const, const void&)} 0x9784
>> <base::operator!=(void const&) const>
>> (gdb) FAIL: gdb.cp/cpexprs.exp: print base::operator!=
>> }}}
>
> What's a "const void&"? :-)
>
> FWIW, I've tried CVS head with the following GCCs: 4.4.5 20101112 (Red Hat
> 4.4.5-2), 4.6.0 20101227 (experimental), and 4.5.2 (GCC), and none of them
> exhibit the problem (cpexprs.exp passes as I expect it to).

See <http://gcc.gnu.org/PR43628>.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]